-
Notifications
You must be signed in to change notification settings - Fork 14
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
ld: library not found for -lWebEngageAppEx #23
Comments
Facing same issue on M1 MacBook Air MCOS 13 Xcode 14 |
Facing the same issue on M1 machine after updating to Xcode 14.3. Please let me know if there's any solution. |
The issue seems to arise from having different minimum deployment targets for various targets within your application. For instance, if your main application has a deployment target set to iOS 12.0, while a service extension has a higher deployment target of iOS 16.0, it can lead to conflicts with shared dependencies like the "webenagage" framework. Both targets might attempt to fetch different versions of this framework, leading to compatibility issues. To address this concern effectively, we strongly recommend following these steps:
We believe that by implementing these measures, you'll be able to resolve the current issue and prevent similar occurrences in the future. If you have any further questions or need assistance with the integration, We're here to help. You can contact us at support@webengage.com for any additional queries. |
Link NotificationViewController (arm64)
Ld /Users/macbook_m1/Library/Developer/Xcode/DerivedData/ReactNativeMobileApp-gbqoyqlixmhqizflvioibvialbrf/Build/Products/Debug-iphonesimulator/NotificationViewController.appex/NotificationViewController normal (in target 'NotificationViewController' from project 'ReactNativeMobileApp')
cd /Users/macbook_m1/Documents/New_RN/react-native-mobile-app/ios
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios10.0-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk -L/Users/macbook_m1/Library/Developer/Xcode/DerivedData/ReactNativeMobileApp-gbqoyqlixmhqizflvioibvialbrf/Build/Products/Debug-iphonesimulator -L/Users/macbook_m1/Library/Developer/Xcode/DerivedData/ReactNativeMobileApp-gbqoyqlixmhqizflvioibvialbrf/Build/Products/Debug-iphonesimulator/WebEngageAppEx -F/Users/macbook_m1/Library/Developer/Xcode/DerivedData/ReactNativeMobileApp-gbqoyqlixmhqizflvioibvialbrf/Build/Products/Debug-iphonesimulator -filelist /Users/macbook_m1/Library/Developer/Xcode/DerivedData/ReactNativeMobileApp-gbqoyqlixmhqizflvioibvialbrf/Build/Intermediates.noindex/ReactNativeMobileApp.build/Debug-iphonesimulator/NotificationViewController.build/Objects-normal/arm64/NotificationViewController.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/../../Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/macbook_m1/Library/Developer/Xcode/DerivedData/ReactNativeMobileApp-gbqoyqlixmhqizflvioibvialbrf/Build/Intermediates.noindex/ReactNativeMobileApp.build/Debug-iphonesimulator/NotificationViewController.build/Objects-normal/arm64/NotificationViewController_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -fapplication-extension -ObjC -lWebEngageAppEx -framework Foundation -weak_framework UserNotifications -weak_framework UserNotificationsUI -e _NSExtensionMain -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/macbook_m1/Library/Developer/Xcode/DerivedData/ReactNativeMobileApp-gbqoyqlixmhqizflvioibvialbrf/Build/Intermediates.noindex/ReactNativeMobileApp.build/Debug-iphonesimulator/NotificationViewController.build/NotificationViewController.appex-Simulated.xcent -framework UserNotificationsUI -framework UserNotifications -lPods-NotificationViewController -Xlinker -dependency_info -Xlinker /Users/macbook_m1/Library/Developer/Xcode/DerivedData/ReactNativeMobileApp-gbqoyqlixmhqizflvioibvialbrf/Build/Intermediates.noindex/ReactNativeMobileApp.build/Debug-iphonesimulator/NotificationViewController.build/Objects-normal/arm64/NotificationViewController_dependency_info.dat -o /Users/macbook_m1/Library/Developer/Xcode/DerivedData/ReactNativeMobileApp-gbqoyqlixmhqizflvioibvialbrf/Build/Products/Debug-iphonesimulator/NotificationViewController.appex/NotificationViewController
ld: warning: directory not found for option '-L/Users/macbook_m1/Library/Developer/Xcode/DerivedData/ReactNativeMobileApp-gbqoyqlixmhqizflvioibvialbrf/Build/Products/Debug-iphonesimulator/WebEngageAppEx'
ld: library not found for -lWebEngageAppEx
clang: error: linker command failed with exit code 1 (use -v to see invocation)
using M1 MacBook Air, but it is working on Intel MacBook Air
The text was updated successfully, but these errors were encountered: