-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Repro: followed instructions of installing NDI for Mac & iOS, then moving the .a file to the correct location and running the NDISenderExample from the workspace. Try to deploy & immediately build fails. Still fails when build folder is cleaned. I also tried deleting tbd and adding flag -lb (I think) to other linker flags, but that didnt fix it either.
Libtool /Users/lkg/Library/Developer/Xcode/DerivedData/NDISenderExample-ahthnslnzbbuskbrnywrsdihcqck/Build/Products/Debug-iphoneos/libNDIWrapper.a normal (in target 'NDIWrapper' from project 'NDIWrapper')
cd /Users/lkg/dev/NDISenderExample/NDIWrapper
export IPHONEOS_DEPLOYMENT_TARGET\=14.0
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only arm64 -D -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.0.sdk -L/Users/lkg/Library/Developer/Xcode/DerivedData/NDISenderExample-ahthnslnzbbuskbrnywrsdihcqck/Build/Products/Debug-iphoneos -L/Users/lkg/dev/NDISenderExample/NDIWrapper/NDIWrapper/wrapper -filelist /Users/lkg/Library/Developer/Xcode/DerivedData/NDISenderExample-ahthnslnzbbuskbrnywrsdihcqck/Build/Intermediates.noindex/NDIWrapper.build/Debug-iphoneos/NDIWrapper.build/Objects-normal/arm64/NDIWrapper.LinkFileList -lndi_ios -dependency_info /Users/lkg/Library/Developer/Xcode/DerivedData/NDISenderExample-ahthnslnzbbuskbrnywrsdihcqck/Build/Intermediates.noindex/NDIWrapper.build/Debug-iphoneos/NDIWrapper.build/Objects-normal/arm64/NDIWrapper_libtool_dependency_info.dat -o /Users/lkg/Library/Developer/Xcode/DerivedData/NDISenderExample-ahthnslnzbbuskbrnywrsdihcqck/Build/Products/Debug-iphoneos/libNDIWrapper.a
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -lndi_ios
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lndi_ios is not an object file (not allowed in a library)
Command Libtool failed with a nonzero exit code
Running in XCode Version 13.1 (13A1030d) onto an iPhone 12 pro 15.0
Thank you! Let me know if there is a solution & If I find one I will post here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels