Scenario:
I have a jailbreaked iPhone and install a third party app: SKYPE which is installed at: var/mobile/Applications/A6D3E4XXXX/
What I have Done:
* I copied this (/A6D3E4XXXX) directory to the simulators corresponding position, ie, now there is a directory of ~/Library/Application Support/iPhone Simulator/7.0.3/Applications/A6D3E4XXXX in my mac's file system; * And I run the simulator, and there is A SKYPE icon in the system, while I tap it to open, it just get stuck and failed.
Yeah! For short, I want my apps from my iPhone run on my Simulator from Mac. Is that possible?
Apps which run on a device are compiled for the ARM CPU architecture and apps which run on the iPhone Simulator are compiled for the i386 CPU architecture. I expect that has something to do with this.
What a great big surprise.
Simulator and device binaries are built with a different compiler for a different instruction set architecture. They are not compatible with each other.
This is never going to work.
You can't really avoid having real devices to test with - not least to check performance and usability. What is possible is re-signing (your own) app-store builds with an team or enterprise key to allow that to be tested on devices before submission.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.