andrew.n
Member
@Max There is a compatibility issue with FlashPhoner SDK on M1 architecture. I still can run the project from Xcode on my iPhone, but if I try to run it on the simulator is not working anymore. (Everything works ok on my intel MacBook, the issue only happens on M1)
Unable to load standard library fo… | Apple Developer Forums
developer.apple.com
Code:
<unknown>:0: error: unable to load standard library for target 'arm64-apple-ios9.1'
<unknown>:0: error: unable to load standard library for target 'arm64-apple-ios9.1'
Command CompileSwift emitted errors but did not return a nonzero exit code to indicate failure
Code:
ld: warning: directory not found for option '-F/pathtoproject/Projectname/FPWCSApi2Swift.framework/Frameworks'
ld: warning: directory not found for option '-F/pathtoproject/FPWCSApi2Swift.framework/Frameworks'
ld: warning: ignoring file /Users/user/Library/Developer/Xcode/DerivedData/Projectname-bxwkikkxazzdiqegsfonrunjorom/Build/Products/Debug-iphonesimulator/FPWCSApi2Swift.framework/FPWCSApi2Swift, file is universal (i386,x86_64) but does not contain the arm64 architecture: /Users/user/Library/Developer/Xcode/DerivedData/Projectname-bxwkikkxazzdiqegsfonrunjorom/Build/Products/Debug-iphonesimulator/FPWCSApi2Swift.framework/FPWCSApi2Swift
ld: building for iOS Simulator, but linking in dylib built for iOS, file '/pathtoproject/Frameworks/WebRTC.framework/WebRTC' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Code:
Showing All Messages
Directory not found for option '-F/pathtoproject/projectname/FPWCSApi2Swift.framework/Frameworks'
Directory not found for option '-F/pathtoproject/FPWCSApi2Swift.framework/Frameworks'
Ignoring file /Users/user/Library/Developer/Xcode/DerivedData/projectname-bxwkikkxazzdiqegsfonrunjorom/Build/Products/Debug-iphonesimulator/FPWCSApi2Swift.framework/FPWCSApi2Swift, file is universal (i386,x86_64) but does not contain the arm64 architecture: /Users/nastasiupta/Library/user/Xcode/DerivedData/projectname-bxwkikkxazzdiqegsfonrunjorom/Build/Products/Debug-iphonesimulator/FPWCSApi2Swift.framework/FPWCSApi2Swift
Building for iOS Simulator, but linking in dylib built for iOS, file '/pathtoproject/Frameworks/WebRTC.framework/WebRTC' for architecture arm64