Building for iOS Simulator-x86_64 but attempting to link with file built for iOS Simulator-arm64
Please find the below environment details,
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
Could you please provide your suggestion?
Note: Same application successfully compiled on Xcode11.6 with iphonesimulatorSDK13.6.
Post
Replies
Boosts
Views
Activity
Problem
Failed to start debugserver: e8000022 The service is invalid.
2020-08-25 14:10:03.179 ios-deploy[24111:161543] [ !! ] Error 0xe8000022: The service is invalid. AMDeviceSecureStartService(device, CFSTR("com.apple.debugserver"), NULL, &con) Sequence
Build the application using below command
xcodebuild -target <targetname> -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk -configuration Debug clean build * Deploy the application using below command
sudo ios-deploy --id <deviceid> --noninteractive --bundle CPAKCOP-HTC.app * Now an application successfully installed into my device but I'm facing the above issue
Could you please help us to resolve the issue?
Environment details:
MAC-MINI
Mac-mini:$ xcodebuild -version
Xcode 12.0
Build version 12A8189h
Mac-mini:$ ios-deploy --version.0
Mac-mini:$ xcodebuild -showsdks
iOS SDKs:
iOS 14.0 -sdk iphoneos14.0
iOS Simulator SDKs:
Simulator - iOS 14.0 -sdk iphonesimulator14.0
Mac-mini:$ clang++ --version
Apple clang version 12.0.0 (clang-1200.0.31.1)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Mac-mini:$ uname -a
Darwin Mac-mini.local 19.6.0 Darwin Kernel Version 19.6.0: Sun Jul 5 00:43:10 PDT 2020; root:xnu-6153.141.1~9/RELEASE_X86_64 x86_64
Mac-mini:$ 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: 6:16
iPad
Hardware Model: J81AP
Device Name: iPad (2)
Model Name: iPad Air 2
SDK Name: iphoneos
Architecture Name: arm64
Product Version: 14.0
Build Version: 18A5351d
Solution
Could you please help us to resolve the issue?
I'm facing below issue while targeting the application for iOS14 simulator in Xocde 12.
clang: error: no input files
iosConfigure:2933: $? = 1
iosConfigure:2956: checking for C compiler default output file name
iosConfigure:2983: gcc -arch arm64 x86_64 conftest.c >&5
clang: error: no such file or directory: 'x86_64'
For this, I have referred from the webpage(s) I found the follow $ARCHS_STANDARD_64_BIT
When sdk=macosx: x86_64
When sdk=iphoneos: arm64
When sdk=iphonesimulator: x86_64
But in my case I received the ARCHS_STANDARD_64_BIT value as arm64, x86_64.
Could you please provide your quick suggestion?
Note: Same application work on Xcode11.6 with SDK13.6
The iOS deployment target 'IPHONEOSDEPLOYMENTTARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99.
Please provide the reference link for Xcode version vs iOS Deployment Target mapping