-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't build Giphy included project for iOS, only for iOS simulator #186
Comments
hey @Fibonacci336 - sorry about that! we should be able to get this sorted what version of Xcode are you on? we compiled the last few versions with Xcode 13 - in the past the Swift compilers across Xcode versions sometimes don't play nice with each other...but I'd have hoped all of those issues would've been resolved by now, especially since we've switched to .xcframeworks if you're on Xcode 12, and aren't able to update to 13, you can try an older GIPHY SDK version |
I am currently on Xcode version 13.1 (13A1030d) |
thanks for clarifying - I'll look into this & try to get back to you by EOD tomorrow |
Thank you! |
hey @Fibonacci336 we weren't able to repro on our end. I wonder if it could be a CocoaPods issue - similar to mapbox/mapbox-navigation-ios#2674 (comment) what version of CocoaPods are you on ? |
Version 1.9.3 |
@cgmaier I updated CocoaPods and reinstalled my pods and no change |
For anyone in the future: |
I recently installed Giphy via Cocoapods and I have not been able to run the project now on any device other than a simulator.
The primary issue appears to be this:
"ld: building for iOS, but linking in dylib file (/Build/Products/Debug-iphoneos/GiphyUISDK.framework/GiphyUISDK) built for iOS Simulator, file '/Build/Products/Debug-iphoneos/GiphyUISDK.framework/GiphyUISDK' for architecture arm64" (* is just the removed path to derived data)
I don't think this can be recompiled and it appears to be because Giphy is downloaded as a framework versus a full-on Cocoapod. This is rather frustrating. Please fix ASAP. I can't appear to find anything online that helps since it is usually the other way around, where people can't run on the simulator but can run on a device.
Here is another error message:
"error: unable to load standard library for target 'arm64-apple-ios10.0-simulator'"
My theory is that somehow the Giphy framework was compiled for the iOS 10 simulator and now it just won't work. I have made sure that my target version is set throughout to iOS 14 with no luck.
Since I need this solved ASAP and I am assuming @cgmaier is an admin, I am tagging him here
The text was updated successfully, but these errors were encountered: