-
Notifications
You must be signed in to change notification settings - Fork 121
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
Xcode build error - dylib failure #261
Comments
my co-worker @elingersin1 and I spent the day digging and discovered that the by switching the order of the entries within the The resulting
|
Running into same issue. With a m1 MacBook Pro. |
怎么解决呢 |
Very frustrating issue, especially when there's not much support on how to fix it. Eventually I upgraded to the latest cocoapods version (1.10.0) & did |
Yes, upgrading cocoapods version to 1.10.0 helped. |
Thanks, for the report @Liamandrew, @lukaskai. @teeolendo can you confirm that updating CocoaPods 1.10.0 resolves the issue for you too and close this issue? |
Updated cocoapods to |
@agoldis Can you check if the Xcode Build Setting |
@afh I did, still no luck - I am seeing the next message:
Trying to run on a iOS 14.2 physical device, also unsuccessfully tried Xcode version 12.3 (12C33) |
Fixed by switching to new build system and manually dragging LinkKit into embedded frameworks |
I'm using the RNPLS version 6.0.3, and when I run the application on my device, I get a persistent build error. It builds fine on the simulator but it doesn't build when I run it on my device or when I set it to a generic ios device.
ld: building for iOS, but linking in dylib file (/Users/********/Library/Developer/Xcode/DerivedData/projectname-fwcxydociljoyzfueniqbwswsbyy/Build/Products/Release-iphoneos/LinkKit.framework/LinkKit) built for iOS Simulator, file '/Users/*********/Library/Developer/Xcode/DerivedData/projectname-fwcxydociljoyzfueniqbwswsbyy/Build/Products/Release-iphoneos/LinkKit.framework/LinkKit' for architecture arm64
I've followed the instructions here
This is a screenshot of my .xcodeproj setup. pod project looks pretty much the same
Environment
Logs
Results from when I run
find . -path '*LinkKit.framework/Info.plist'|pbcopy; pbpaste; pbpaste|xargs -n1 /usr/libexec/PlistBuddy -c 'Print CFBundleSupportedPlatforms' -c 'Print CFBundleShortVersionString' -c 'Print CFBundleVersion'
:The text was updated successfully, but these errors were encountered: