Building For IOS Simulator-x86_64 … | Apple Developer Forums
Maybe your like
- Apple Developer
- Apple Developer
- Sign in
- Create account
| xcode-select --print-path |
| /Applications/Xcode-beta.app/Contents/Developer |
| xcodebuild -version |
| Xcode 12.0 |
| Build version 12A8189h |
| xcodebuild -showsdks |
| iOS SDKs: |
| iOS 14.0 -sdk iphoneos14.0 |
| iOS Simulator SDKs: |
| Simulator - iOS 14.0 -sdk iphonesimulator14.0 |
| macOS SDKs: |
| DriverKit 20.0 -sdk driverkit.macosx20.0 |
| macOS 11.0 -sdk macosx11.0 |
| tvOS SDKs: |
| tvOS 14.0 -sdk appletvos14.0 |
| tvOS Simulator SDKs: |
| Simulator - tvOS 14.0 -sdk appletvsimulator14.0 |
| watchOS SDKs: |
| watchOS 7.0 -sdk watchos7.0 |
| watchOS Simulator SDKs: |
| Simulator - watchOS 7.0 -sdk watchsimulator7.0 |
| system_profiler SPSoftwareDataType |
| Software: |
| System Software Overview: |
| System Version: macOS 10.15.6 (19G73) |
| Kernel Version: Darwin 19.6.0 |
| Boot Volume: Macintosh HD |
| Boot Mode: Normal |
| Computer Name: Chetana’s Mac mini |
| User Name: Deepthi Uma (deepthi) |
| Secure Virtual Memory: Enabled |
| System Integrity Protection: Enabled |
| Time since boot: 22:40 |
Boost Copy to clipboard Share this post Copied to Clipboard Replies 13 Boosts 0 Views 29k Participants 10 glaurent OP Aug ’20 I have the same issue - my app was building properly with Xcode12 beta2, the error appeared with beta4 I believe. 0 comments 2 Copy to clipboard Share this post Copied to Clipboard Load more Add comment BockstegerWW OP Aug ’20 Same here with one of our dependencies. Was building fine until beta3. 0 comments 0 Copy to clipboard Share this post Copied to Clipboard Load more Add comment wongfrompalmyrau OP Aug ’20 Can some guys of the Xcode team pay attention to this issue? This issue has appeared since Beta2. And I downloaded the latest Beta 5 still not work!!!!!!!! 0 comments 2 Copy to clipboard Share this post Copied to Clipboard Load more Add comment Engineer OP Apple Aug ’20 You haven't provided much information here so I can only make guesses. This might be caused by a project mis-configuration. If you were previously overriding the default value for build architecture please reset that to the default setting "$(STANDARD_ARCHS)".If you are building from the command line try giving xcodebuild the generic simulator destination. If that doesn't help please file a feedback item so we can investigate. It will help if you can provide your entire build log. You can also create a new project from a template and compare build settings between the two to attempt to narrow down what is misconfigured in your project. 0 comments 0 Copy to clipboard Share this post Copied to Clipboard Load more Add comment pak.support OP Aug ’20 You can easily check the problem with the below environment variables,Note: Same application successfully compiled on Xcode11.6 with iphonesimulatorSDK13.6.
| $ARCHS |
| $ARCHS_STANDARD |
| $ARCHS_STANDARD_32_64_BIT |
| $ARCHS_STANDARD_64_BIT |
| $VALID_ARCHS |
Problem
We can able to resolve the problem with the help of hardcode the Standard Architecture to x8664 and Valid Architecture to x8664 for both Library Xcode project(It used for build the static library) and Application generate Xcode project(Used for generate the application). But the trouble is we are using the same project for both iOS Simulator and iOS Device building. So we can't go with the hardcoded value.Analysis
For this issue please find my analysis, if anything wrong please correct me.I have checked the below environment variables in both Xcode11 and Xcode12 while building the library for iOS Simulator and I found the arm_64 appended in all the environment variables in Xcode12.Xcode 11 Environment Variable values:
| export ARCHS="i386 x86_64" |
| export ARCHS_STANDARD="i386 x86_64" |
| export ARCHS_STANDARD_32_64_BIT="i386 x86_64" |
| export ARCHS_STANDARD_64_BIT=x86_64 |
| export ARCHS_STANDARD_INCLUDING_64_BIT="i386 x86_64" |
| export ARCHS_UNIVERSAL_IPHONE_OS="i386 x86_64" |
| export VALID_ARCHS="i386 x86_64" |
Xcode 12 Environment Variable values:
| export ARCHS\=arm64\ i386\ x86_64 |
| export ARCHS_STANDARD\=arm64\ i386\ x86_64 |
| export ARCHS_STANDARD_32_64_BIT\=arm64\ i386\ x86_64 |
| export ARCHS_STANDARD_64_BIT\=arm64\ x86_64 |
| export ARCHS_STANDARD_INCLUDING_64_BIT\=arm64\ i386\ x86_64 |
| export ARCHS_UNIVERSAL_IPHONE_OS\=arm64\ i386\ x86_64 |
| export VALID_ARCHS\=arm64\ i386\ x86_64 |
The above information is not help then i will file feedback request.
Above environment variable copied from my build log file.
m64 -miphoneos-version-min=9.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk
Tag » Architecture Type X86_64
-
Troubleshoot Disabled EC2 Instance Types At Launch - Amazon AWS
-
The Architecture 'x86_64' Of The Specified Instance Type Does Not ...
-
X86-64 - Wikipedia
-
How To Find The List Of Applicable Instance Types For An AMI
-
Linker Error In UI Test Target | Apple Developer Forums
-
Support 64-bit Architectures - Android Developers
-
What Is The Difference Between X64 And ARM64 - Microsoft Q&A
-
X86 Architecture Overview
-
[PDF] AMD64 Architecture Programmer's Manual, Volume 1
-
CPU Architectures - Elements Docs
-
X86-64 Architecture Guide
-
How To Find The Architecture Of OS Installed - Super User
-
64-Bit Architecture - An Overview | ScienceDirect Topics