voximplant / flutter_callkit

Flutter SDK for CallKit integration to Flutter applications on iOS
MIT License
53 stars 18 forks source link

Example app not building #11

Closed orestesgaolin closed 3 years ago

orestesgaolin commented 3 years ago

Hi there, thanks for maintaining the library!

I have issue with building the app for iPhone. I changed the bundle id, group id and team to my personal account. But when building the app following error occurs:

Ld /Users/redacted/Projects/_redacted/flutter_callkit/example/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal/arm64/Binary/Runner normal arm64 (in target 'Runner' from project 'Runner') cd /Users/redacted/Projects/_redacted/flutter_callkit/example/ios /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios10.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk -L/Users/redacted/Projects/_redacted/flutter_callkit/example/build/ios/Release-iphoneos -L/Users/redacted/Projects/_redacted/flutter_callkit/example/build/ios/Release-iphoneos/flutter_callkit_voximplant -L/Users/redacted/Projects/_redacted/flutter_callkit/example/ios/Flutter -F/Users/redacted/Projects/_redacted/flutter_callkit/example/build/ios/Release-iphoneos -F/Users/redacted/Projects/_redacted/flutter_callkit/example/ios/Flutter -filelist /Users/redacted/Projects/_redacted/flutter_callkit/example/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal/arm64/Runner.LinkFileList -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/redacted/Projects/_redacted/flutter_callkit/example/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal/arm64/Runner_lto.o -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/redacted/Projects/_redacted/flutter_callkit/example/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal/arm64/Runner.swiftmodule -ObjC -lflutter_callkit_voximplant -lPods-Runner -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/redacted/Projects/_redacted/flutter_callkit/example/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal/arm64/Runner_dependency_info.dat -o /Users/redacted/Projects/_redacted/flutter_callkit/example/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal/arm64/Binary/Runner

ld: warning: directory not found for option '-L/Users/redacted/Projects/_redacted/flutter_callkit/example/build/ios/Release-iphoneos/flutter_callkit_voximplant' ld: library not found for -lflutter_callkit_voximplant clang: error: linker command failed with exit code 1 (use -v to see invocation)

Do you have any idea what might be the issue?

flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.2, on macOS 11.2.2 20D80 darwin-x64, locale pl-PL)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.54.3)
[✓] Connected device (4 available)

• No issues found!
orestesgaolin commented 3 years ago

My error, I used the same bundle id for app and extension