Closed nemezis16 closed 6 years ago
Hi! I have installed pod 'AppRTC'. I'm trying to run on Simulator or Device but every time It builds with the following error:
Ld /Users/User1/Library/Developer/Xcode/DerivedData/My_Dose-bvszghhzuxaoqpcrmsjvqqsqjpbn/Build/Products/Debug-iphonesimulator/AppRTC/AppRTC.framework/AppRTC normal x86_64 cd /Users/User1/Documents/Proj/Proj/Pods export IPHONEOS_DEPLOYMENT_TARGET=8.0 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 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk -L/Users/User1/Library/Developer/Xcode/DerivedData/My_Dose-bvszghhzuxaoqpcrmsjvqqsqjpbn/Build/Products/Debug-iphonesimulator/AppRTC -F/Users/User1/Library/Developer/Xcode/DerivedData/My_Dose-bvszghhzuxaoqpcrmsjvqqsqjpbn/Build/Products/Debug-iphonesimulator/AppRTC -F/Users/User1/Library/Developer/Xcode/DerivedData/My_Dose-bvszghhzuxaoqpcrmsjvqqsqjpbn/Build/Products/Debug-iphonesimulator/SocketRocket -filelist /Users/User1/Library/Developer/Xcode/DerivedData/My_Dose-bvszghhzuxaoqpcrmsjvqqsqjpbn/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/AppRTC.build/Objects-normal/x86_64/AppRTC.LinkFileList -install_name @rpath/AppRTC.framework/AppRTC -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -mios-simulator-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/User1/Library/Developer/Xcode/DerivedData/My_Dose-bvszghhzuxaoqpcrmsjvqqsqjpbn/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/AppRTC.build/Objects-normal/x86_64/AppRTC_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -lc++ -licucore -lsqlite3 -lstdc++.6 -framework AVFoundation -framework AudioToolbox -framework CFNetwork -framework CoreAudio -framework CoreGraphics -framework CoreMedia -framework CoreVideo -framework GLKit -framework OpenGLES -framework QuartzCore -framework Security -framework AudioToolbox -framework AVFoundation -framework CFNetwork -framework CoreAudio -framework CoreGraphics -framework CoreMedia -framework CoreVideo -framework Foundation -framework GLKit -framework OpenGLES -framework QuartzCore -framework Security -framework SocketRocket -single_module -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/User1/Library/Developer/Xcode/DerivedData/My_Dose-bvszghhzuxaoqpcrmsjvqqsqjpbn/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/AppRTC.build/Objects-normal/x86_64/AppRTC_dependency_info.dat -o /Users/User1/Library/Developer/Xcode/DerivedData/My_Dose-bvszghhzuxaoqpcrmsjvqqsqjpbn/Build/Products/Debug-iphonesimulator/AppRTC/AppRTC.framework/AppRTC Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_RTCSessionDescription", referenced from: objc-class-ref in ARDSignalingMessage.o objc-class-ref in RTCSessionDescription+JSON.o l_OBJC_$_CATEGORY_RTCSessionDescription_$_JSON in RTCSessionDescription+JSON.o "_OBJC_CLASS_$_RTCMediaConstraints", referenced from: objc-class-ref in ARDAppClient.o objc-class-ref in RTCMediaConstraints+JSON.o l_OBJC_$_CATEGORY_RTCMediaConstraints_$_JSON in RTCMediaConstraints+JSON.o "_OBJC_CLASS_$_RTCPair", referenced from: objc-class-ref in ARDAppClient.o objc-class-ref in RTCMediaConstraints+JSON.o "_OBJC_CLASS_$_RTCICECandidate", referenced from: objc-class-ref in ARDSignalingMessage.o objc-class-ref in RTCICECandidate+JSON.o l_OBJC_$_CATEGORY_RTCICECandidate_$_JSON in RTCICECandidate+JSON.o "_OBJC_CLASS_$_RTCICEServer", referenced from: objc-class-ref in ARDAppClient.o objc-class-ref in RTCICEServer+JSON.o l_OBJC_$_CATEGORY_RTCICEServer_$_JSON in RTCICEServer+JSON.o "_OBJC_CLASS_$_RTCPeerConnectionFactory", referenced from: objc-class-ref in ARDAppClient.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Have anyone faced this issue before, and how can I fix this? Thanks for any help or pointers to the right direction.
Who will face this issue can follow this steps. https://github.com/ISBX/apprtc-ios/issues/39#issuecomment-227636732 It works for me, many thanks @SeanChenU
Hi! I have installed pod 'AppRTC'. I'm trying to run on Simulator or Device but every time It builds with the following error:
Have anyone faced this issue before, and how can I fix this? Thanks for any help or pointers to the right direction.