पर सिम्युलेटर क्रैश में मैन्युअल रूप से इंस्टॉल किए गए ऐप्स मैं xcrun simctl install booted MyPath/MyApp.app
का उपयोग कर आईओएस सिम्युलेटर (एक्सकोड 7, आईओएस 9) पर MyApp
इंस्टॉल कर रहा हूं।लोड
यह अपेक्षित काम करता है और सिम्युलेटर पर ऐप इंस्टॉल किया गया है।
हालांकि, ऐप को मैन्युअल रूप से लॉन्च करना या xcrun simctl launch booted com.company.MyApp
का उपयोग करना विफल रहता है। त्रुटि वापस दे:
An error was encountered processing the command (domain=FBSOpenApplicationErrorDomain, code=1): The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.)
एप्लिकेशन Xcode से निर्यात किया जाता है (Xcode से एप्लिकेशन चल रहे हैं या उसके स्रोत कोड से ऐप्लिकेशन को फिर से निर्माण है कि ध्यान दें एक उत्तरदायी समाधान नहीं है)।
यह ऐप विशिष्ट नहीं है, क्योंकि इस तरह से कोई ऐप इंस्टॉल उसी त्रुटि से दुर्घटनाग्रस्त हो जाता है।
सिस्टम लॉग एक ही त्रुटि रिपोर्ट करता है, लेकिन कुछ अतिरिक्त जानकारी के साथ।
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.
architectures
त्रुटि चर बदलती है। आर, एफ, आदि
इस मुद्दे का कारण क्या है? मैं इसे कैसे हल कर सकता हूं?
यह वही मुद्दा आप देख रहे हैं की तरह लगता है: https : //discuss.appium.io/t/appium-v1-3-0-beta1-xcode-6-1-failed-looking-up-pid-of-launched-process/1015/5 – JJF
आपकी ऐप दिखती है आवश्यक x86 आर्किटेक्चर को याद नहीं है जो कि कुछ नहीं है जिसे आप प्रोजेक्ट को दोबारा सुधारने के बिना ठीक कर सकते हैं। – Nanoc
मुझे एक ही समस्या का सामना करना पड़ रहा है। क्या आपको कोई समाधान मिला है? – hujunfeng