Ich installiere MyApp
auf dem iOS-Simulator (Xcode 7, iOS 9) unter Verwendung von xcrun simctl install booted MyPath/MyApp.app
.Apps, die manuell im Simulator installiert wurden, stürzen beim Laden ab
Dies funktioniert wie erwartet und die App wird auf dem Simulator installiert.
Das Starten der App kann jedoch entweder manuell oder unter Verwendung von xcrun simctl launch booted com.company.MyApp
fehlschlagen. Zurück geben den Fehler:
An error was encountered processing the command (domain=FBSOpenApplicationErrorDomain, code=1): The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.)
Die App von Xcode exportiert wird (beachten Sie, dass die App von Xcode läuft oder neu bauen die App aus seinem Quellcode ist keine Haftung Lösung).
Es ist nicht App-spezifisch, da jede App auf diese Weise mit dem gleichen Fehler abstürzt.
Das Systemprotokoll meldet den gleichen Fehler, jedoch mit einigen zusätzlichen Informationen.
com.apple.CoreSimulator.SimDevice.CA35ED48-DDAA-4CF0-8C69-C206CC55A6EB.launchd_sim[4200] (UIKitApplication:com.company.MyApp[0xe9ec][4281]): Program specified by service does not contain one of the requested architectures: R
SpringBoard[4217]: Unable to get pid for 'UIKitApplication:com.company.MyApp[0xe9ec]': No such process (err 3)
SpringBoard[4217]: Bootstrapping failed for
SpringBoard[4217]: Application 'UIKitApplication:com.company.MyApp[0xe9ec]' exited voluntarily.
SpringBoard[4217]: CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
SpringBoard[4217]: CGContextTranslateCTM: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
SpringBoard[4217]: CGContextRestoreGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
SpringBoard[4217]: CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
SpringBoard[4217]: CGContextTranslateCTM: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
SpringBoard[4217]: CGContextRestoreGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
com.apple.CoreSimulator.SimDevice.CA35ED48-DDAA-4CF0-8C69-C206CC55A6EB.launchd_sim[4200] (UIKitApplication:com.company.MyApp[0xc82f][4282]): Program specified by service does not contain one of the requested architectures: R
SpringBoard[4217]: Unable to get pid for 'UIKitApplication:com.company.MyApp[0xc82f]': No such process (err 3)
SpringBoard[4217]: Bootstrapping failed for
SpringBoard[4217]: Application 'UIKitApplication:com.company.MyApp[0xc82f]' exited voluntarily.
Der Fehler architectures
variiert die Variable. R, f usw.
Was verursacht dieses Problem? Wie kann ich es lösen?
Dies scheint das gleiche Problem Sie sehen: https : //discuss.appium.io/t/appium-v1-3-0-beta1-xcode-6-1-failed-looking-up-pid-of-launched-process/1015/5 – JJF
Ihre App sieht aus wie ist Die erforderliche x86-Architektur fehlt, die Sie nicht reparieren können, ohne das Projekt neu zu kompilieren. – Nanoc
Ich habe das gleiche Problem. Irgendeine Lösung hast du gefunden? – hujunfeng