Skip to content
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: framework not found Pods_OneSignalNotificationServiceExtension #13

Closed
krzysztofwolski opened this issue Aug 16, 2018 · 5 comments
Closed

Comments

@krzysztofwolski
Copy link

Wanted to run synth in an emulator, ABLink error is now resolved, but im getting another one:

Ld /Users/krzyh/Library/Developer/Xcode/DerivedData/AudioKitSynthOne-bzbrlkwdxzubzhaurxngoqdckeyl/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension normal x86_64
    cd /Users/krzyh/code/AudioKitSynthOne
    export IPHONEOS_DEPLOYMENT_TARGET=11.3
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk -L/Users/krzyh/Library/Developer/Xcode/DerivedData/AudioKitSynthOne-bzbrlkwdxzubzhaurxngoqdckeyl/Build/Products/Debug-iphonesimulator -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -F/Users/krzyh/Library/Developer/Xcode/DerivedData/AudioKitSynthOne-bzbrlkwdxzubzhaurxngoqdckeyl/Build/Products/Debug-iphonesimulator -F/Users/krzyh/code/AudioKitSynthOne/Pods/AudioKit/iOS -F/Users/krzyh/code/AudioKitSynthOne/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework -filelist /Users/krzyh/Library/Developer/Xcode/DerivedData/AudioKitSynthOne-bzbrlkwdxzubzhaurxngoqdckeyl/Build/Intermediates.noindex/AudioKitSynthOne.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/x86_64/OneSignalNotificationServiceExtension.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/../../Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/../../Frameworks -mios-simulator-version-min=11.3 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/krzyh/Library/Developer/Xcode/DerivedData/AudioKitSynthOne-bzbrlkwdxzubzhaurxngoqdckeyl/Build/Intermediates.noindex/AudioKitSynthOne.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/x86_64/OneSignalNotificationServiceExtension_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fapplication-extension -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -Xlinker -add_ast_path -Xlinker /Users/krzyh/Library/Developer/Xcode/DerivedData/AudioKitSynthOne-bzbrlkwdxzubzhaurxngoqdckeyl/Build/Intermediates.noindex/AudioKitSynthOne.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/x86_64/OneSignalNotificationServiceExtension.swiftmodule -lstdc++ -ObjC -lstdc++ -framework AVFoundation -framework AudioKit -framework AudioKitUI -framework OneSignal -framework SystemConfiguration -framework UIKit -framework UserNotifications -e _NSExtensionMain -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/krzyh/Library/Developer/Xcode/DerivedData/AudioKitSynthOne-bzbrlkwdxzubzhaurxngoqdckeyl/Build/Intermediates.noindex/AudioKitSynthOne.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension.appex-Simulated.xcent -framework Pods_OneSignalNotificationServiceExtension -Xlinker -dependency_info -Xlinker /Users/krzyh/Library/Developer/Xcode/DerivedData/AudioKitSynthOne-bzbrlkwdxzubzhaurxngoqdckeyl/Build/Intermediates.noindex/AudioKitSynthOne.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/x86_64/OneSignalNotificationServiceExtension_dependency_info.dat -o /Users/krzyh/Library/Developer/Xcode/DerivedData/AudioKitSynthOne-bzbrlkwdxzubzhaurxngoqdckeyl/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension


ld: framework not found Pods_OneSignalNotificationServiceExtension
clang: error: linker command failed with exit code 1 (use -v to see invocation)

My steps:

  1. Change branch to develop
  2. Update repo (git pull)
  3. pod repo update
  4. pod install
  5. Run xcode
  6. Hit Build and run
  7. Get build error
@analogcode
Copy link
Member

analogcode commented Aug 16, 2018

Hello @krzysztofwolski. Perhaps try:

  1. Closing Xcode
  2. Deleting your derived data folder (/Users/krzyh/Library/Developer/Xcode/DerivedData/) & empty trash
  3. Opening the workspace and clean (CMD + Shift + K)

@krzysztofwolski
Copy link
Author

@analogcode thanks for the response!

  • I've removed the project from xcode
  • cleared workspace
  • cleared trash
  • deleted and downloaded repo again (develop branch)
  • installation steps again

No changes.

Compiler warnings and errors I'm getting did not changed:
screen shot 2018-08-16 at 18 10 43

For emulation target I'm choosing iPad Pro 12.9 2nd gen.

@analogcode
Copy link
Member

@aure received that error one time as well. Aure, how did you fix it on your machine?

@analogcode
Copy link
Member

@krzysztofwolski double checking, did you delete the contents of your derived data folder? (/Users/krzyh/Library/Developer/Xcode/DerivedData/). Deleting the project will not delete it. In the first screen shot you posted, it looks like Xcode is caching your derived data folder.

@krzysztofwolski
Copy link
Author

I'm sorry - the issue was on my side. I've got instructions from README wrong 🤦‍♂️

What I did: Opened AudioKitSynthOne.xcodeproj in xcode
What I should do: Open AudioKitSynthOne.xcworkspace

@analogcode thank you for help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants