2014-04-21 13 views
6

मैं ऐपियम आईओएस में जावा का उपयोग कर एक ऐप के लिए अपनी ऑटोमेशन स्क्रिप्ट चलाने की कोशिश कर रहा हूं।'पॉज़िक्स स्पॉन विफलता' त्रुटि प्राप्त करना - एपियम आईओएस

जब मैं सिम्युलेटर पर चल रहा हूँ, तो निम्न त्रुटि हो रही है -

info: Attempting to retry launching instruments, this is retry #1 
info: Attempting to run app on iPhone Retina (4-inch) - Simulator - iOS 7.1 

info: Spawning instruments with command:  /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -w iPhone Retina (4-inch) - Simulator - iOS 7.1 /Users/abc/Desktop/smriti/iPhoneSimulator/AppIOS.app -e UIASCRIPT /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/uiauto/bootstrap.js -e UIARESULTSPATH /tmp/appium-instruments 
info: And extra without-delay env: {"DYLD_INSERT_LIBRARIES":"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd/InstrumentsShim.dylib","LIB_PATH":"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd"} 
info: And launch timeout: 90000ms 

info: [INST STDERR] posix spawn failure; aborting launch (binary == /Users/abc/Desktop/smriti/iPhoneSimulator/AppIOS.app/AppIOS). 

info: [INST STDERR] Instruments Trace Error : Error Starting Recording 

तो असली डिवाइस पर चल रहा है, तो निम्न त्रुटि हो रही करने की कोशिश की:

info: Installing ipa found at AppIOS.ipa 
info: Creating iDevice object with udid 3daa1240e495c84e8878996649301fd9759a07df 
info: Couldn't find ideviceinstaller, trying built-in at /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller 

info: Cleaning up appium session 

error: Failed to start an Appium session, err was: Error: Command failed: dyld: Library not loaded: @executable_path/../lib/libimobiledevice.3.dylib 
Referenced from: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller 
Reason: image not found 


info: Error: Command failed: dyld: Library not loaded: @executable_path/../lib/libimobiledevice.3.dylib 
Referenced from: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller 
Reason: image not found 

at ChildProcess.exithandler (child_process.js:637:15) 
at ChildProcess.EventEmitter.emit (events.js:98:17) 
at maybeClose (child_process.js:743:16) 
at Socket.<anonymous> (child_process.js:956:11) 
at Socket.EventEmitter.emit (events.js:95:17) 
at Pipe.close (net.js:465:12) 

info: Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Command failed: dyld: Library not loaded: @executable_path/../lib/libimobiledevice.3.dylib\n Referenced from: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller\n Reason: image not found\n)","killed":false,"code":null,"signal":"SIGTRAP","origValue":"Command failed: dyld: Library not loaded: @executable_path/../lib/libimobiledevice.3.dylib\n Referenced from: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller\n Reason: image not found\n"},"sessionId":null} 
POST /wd/hub/session 500 4286ms - 714b 

तो मैं पर 'i' के लिए क्लिक किया असली डिवाइस पर चलते समय एपियम इंस्पेक्टर लॉन्च करें -> यह मेरा ऐप लॉन्च हुआ और फिर ऐप क्रैश हो गया।

किसी भी मदद की सराहना की जाएगी।

धन्यवाद!

+0

क्या आपने इसे अभी तक हल किया है ??? – Clergyman

+0

बस अगर कोई भी संघर्ष कर रहा है: मैंने अपनी वांछित क्षमताओं से प्लेटफॉर्म वर्जन को हटाकर इस बहुत परेशान और निराशाजनक समस्या का समाधान किया। – Clergyman

उत्तर

0

आप सिम्युलेटर पर आईपीए फ़ाइलों को स्थापित करने का प्रयास नहीं करना चाहिए। AFAIK, वे एआरएम प्रोसेसर के लिए बनाए गए थे और केवल आईओएस डिवाइस पर चल सकते हैं।

संबंधित मुद्दे