Titanium build error on device - titanium

I have a serious problem with titanium appcelerator studio build, i cannot build on device due to following error :
[ERROR] : An error occurred during build after 1m 35s 521ms
[ERROR] : Failed to install app on device (0xe8008018)
[ERROR] : For some reason the app failed to install on the device. Try reconnecting your device and check your provisioning profile and entitlements.
It happens just after titanium try to install app to device :
Installing app on device: xxx
Anyone has an idea about it please ?
Thank you.

To run on an iOS device, you need to have a valid signing cert and a valid provisioning profile that has that device's id embedded init.
Validity is important, as an expired signing cert will also return the
same error code (0xe8008018)
You can start up Xcode, visit the Devices window with your device plugged in to see the device console. That might give you more context than the titanium error logs will.
Follow ups would be:
1. Have you ever been able to build to a device with this project?
2. Have you ever been able to build to this device with this project?

Related

Library linking issue after upgrading to React Native 0.70.3

We upgraded the mobile development project we are working on to React Native v0.70.3 from 0.66.4 and our build starting to give all sort of issue in our build server after that. Both iOS and Android builds are failing with following error messages.
Android:
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':react-native-camera-kit:verifyReleaseResources'.
A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
Android resource linking failed
ERROR:/Users/jenkinsoffshore/CICDBuilds/workspace/Mobile-Service-Android/node_modules/react-native-camera-kit/android/build/intermediates/merged_res/release/values/values.xml:2784: AAPT: error: resource android:attr/lStar not found.
iOS:
iOS build ends in success and we can upload to testflight as well. but getting the following error in email and the app crashes in devices.
ITMS-90863: Apple silicon Macs support issue - The app links with libraries that are not present on Mac:
#rpath/hermes.framework/hermes
After you’ve corrected the issues, you can upload a new binary to App Store Connect
We upgraded the MacOS version to Ventura and Xcode along with in the build machine. In developer machine both builds work fine.
Do we have to do anything specifically after upgrading to React Native 0.70.3?
Downgrade to atmost react-native 0.69
Rebuilding the server completely solve the issue. We had to setup everything from scratch. There must be a simple solution that that but project deadlines made us to go for a full re-inttall.

Error when testing ionic app on IOS device

I have this error when i test ionic app on IOS device
i have adding the signing but i have the same error
i test this app on browser and emulator is working with xcode but on device ios not working this is the error
Showing Recent Issues
Signing for "MyApp" requires a development team. Select a development team in the Signing & Capabilities editor.
please someone can help me ?
first try to clean and rebuild the project again. But if it works in the browser and emulator, but not on a device. This is a symptom that you havent paid and have a valid anual license of xcode

Xcode 7.3 - Unable to fix code signing issue

I am new to this Xcode and we are using 7.3 version. We had a problem in launching the app on iOS device with the Xcode after connecting my Mac to the iOS device (iPad).
I have connected my iPad to Mac and then build the solution but I have been encountered with an error message along with Fix issue button in the warning message.
If I clicked the Fix issue button then I am getting the error as:
Unable to fix code signing issue. Xcode failed to resolve the issue. Check your code signing settings, ensure you have a matching signing certificate and provisioning profile installed; and try again
Because of this error I could not be able to run the app on my iPad device. Can you provide me a solution on how to fix this issue and make the app run in my iPad device?

Titanium ios failed to build on my test device

when I code :
ti build --platform ios --target device
I got this issue :
[TRACE]/usr/bin/touch -c /Users/wind/workspace/yuehouse/build/iphone/build/Debug-iphoneos/yuehouse.app.dSYM
[TRACE] ** BUILD SUCCEEDED **
[INFO] Installing app on device: xxx iPhone
[ERROR] Failed to start "com.apple.syslog_relay" service (0xe800007f)
[ERROR] Project failed to build after 40s 884ms
[ERROR] Failed to start "com.apple.syslog_relay" service (0xe800007f)
Just disable wifi on your device while building
Try disable iTunes sync over Wi-Fi, it works for me.
That is a well known bug which is still open.
According to other users it may help to reboot your phone and/or your Mac. Other users tried to install it several times and suddenly it worked. It could also help to unplug your phone and plug it in again.
-- This is from TIMOB17595
(it just worked for me, perfectly)
Here's my workaround "ritual":
1- Unplug your device
2- Clean the project
3- Log out Appcelerator
4- Re-open Appcelerator and log in
5- Plug your device
6- Run the app

ERROR : Invalid "--device-id"

I am facing a problem while running my app from titanium studio. my previous app was running properly but i created new project and then when i try to run my app, it says
[ERROR] : Invalid "--device-id" value "AVD"
For help, run: titanium help build
[ERROR] Application Installer abnormal process termination. Process exit value was 1
here AVD is my android virtual device name. my device is running properly.
Possible reasons and solutions
Bug in the Android SDK
There was a bug in the Android SDK which is already fixed. The fix was released with Android SDK-Tools 22.6.2. Here are some more information from the Appcelerator Bugtracker.
The (real) device doesn't trust your computer
The USB-Debugging is active on you device, so It is displayed in the device list, but the device doesn't trust your computer. To fix that unplug the device and plug It again. Wait for the trust this computer dialog and click ok.
Corrupted / Wrong "run config"
Sometimes it happens that the run configurations gets corrupted or you have added a wrong one. In this case you can delete the configuration under "Run Configuration":
Click the arrow with the current device
Click on "Run Configuration"
Select the not working configuration (e.g. under Titanium Android Emulator)
Click on the red "X" Close the dialog
and "run" the device again