Post Reply 
New iOS WP-34s & WP-31s emulators
12-05-2019, 12:28 PM (This post was last modified: 12-05-2019 12:41 PM by Thomas Okken.)
Post: #34
RE: New iOS WP-34s & WP-31s emulators
Oh, OK. Hmm... Yes, the way Xcode handles simulator builds is a bit weird, and I have to admit I don't fully understand it. I just tried removing i386 from the architectures for the Debug build, and then did a clean rebuild, and it ended up compiling for i386 anyway. I seem to remember that it used to be a simple matter of setting VALID_ARCHS appropriately, but in my project, neither i386 nor x86_64 are in the valid architectures anyway, not even for Debug; Xcode sees armv7 and automagically adds i386 for the simulator.

On the other hand, for a Release build it does not build i386 or x86_64. I just tried this by running Product -> Archive for Free42 without building the Intel library for i386 first, and the build ran without errors, generating armv7 and arm64, and no i386 or x86_64, as expected. If that pattern holds for your project, you may be able to fix the issue by simply setting the Debug architectures to "arm64" (or "arm64 x86_64", if that makes a difference, which I suspect it doesn't), and the Release architectures to "armv7 arm64".
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: New iOS WP-34s & WP-31s emulators - Thomas Okken - 12-05-2019 12:28 PM



User(s) browsing this thread: 1 Guest(s)