-
Notifications
You must be signed in to change notification settings - Fork 610
Build macOS Example Embedder failed in Xcode 10 #132
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
Comments
Is this the first/only build error? Those classes come from frameworks that should have been built by the dependent projects. |
Closing due to lack of response. If you can provide the requested information, I can re-open the bug. |
This happened to me too, I'm not an xcode expert but I've simply Product > Clean Build Folder and then Product > Build For > Running and it built successfully. edit: grammar and directions |
Sounds like there must be a dependency issue somewhere. Reopening to investigate. |
Had the same issue but did the same as GregorySech and things worked nicely ... I did try and compile from an older check out of this code tree, this may have caused some build issues within this latest code where the code has been moved about a bit .. |
Speculative fix for issue google#132
Speculative fix for issue #132
I believe this is fixed by the PR I just landed. If anyone still sees it after that, please comment! |
Showing Recent Messages
Ld /Users/Tao/Library/Developer/Xcode/DerivedData/Example_Embedder-cyebqnokskymrzftfrnhdolxhaqu/Build/Products/Debug/Example\ Embedder.app/Contents/MacOS/Example\ Embedder normal x86_64 (in target: Example Embedder)
cd /Users/Tao/development/flutter-desktop-embedding/macos/example
export MACOSX_DEPLOYMENT_TARGET=10.13
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -L/Users/Tao/Library/Developer/Xcode/DerivedData/Example_Embedder-cyebqnokskymrzftfrnhdolxhaqu/Build/Products/Debug -F/Users/Tao/Library/Developer/Xcode/DerivedData/Example_Embedder-cyebqnokskymrzftfrnhdolxhaqu/Build/Products/Debug -filelist /Users/Tao/Library/Developer/Xcode/DerivedData/Example_Embedder-cyebqnokskymrzftfrnhdolxhaqu/Build/Intermediates.noindex/Example\ Embedder.build/Debug/Example\ Embedder.build/Objects-normal/x86_64/Example\ Embedder.LinkFileList -Xlinker -rpath -Xlinker @executable_path/../Frameworks -mmacosx-version-min=10.13 -Xlinker -object_path_lto -Xlinker /Users/Tao/Library/Developer/Xcode/DerivedData/Example_Embedder-cyebqnokskymrzftfrnhdolxhaqu/Build/Intermediates.noindex/Example\ Embedder.build/Debug/Example\ Embedder.build/Objects-normal/x86_64/Example\ Embedder_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx -Xlinker -add_ast_path -Xlinker /Users/Tao/Library/Developer/Xcode/DerivedData/Example_Embedder-cyebqnokskymrzftfrnhdolxhaqu/Build/Intermediates.noindex/Example\ Embedder.build/Debug/Example\ Embedder.build/Objects-normal/x86_64/Example_Embedder.swiftmodule /Users/Tao/Library/Developer/Xcode/DerivedData/Example_Embedder-cyebqnokskymrzftfrnhdolxhaqu/Build/Products/Debug/FlutterEmbedderMac.framework/FlutterEmbedderMac -Xlinker -dependency_info -Xlinker /Users/Tao/Library/Developer/Xcode/DerivedData/Example_Embedder-cyebqnokskymrzftfrnhdolxhaqu/Build/Intermediates.noindex/Example\ Embedder.build/Debug/Example\ Embedder.build/Objects-normal/x86_64/Example\ Embedder_dependency_info.dat -o /Users/Tao/Library/Developer/Xcode/DerivedData/Example_Embedder-cyebqnokskymrzftfrnhdolxhaqu/Build/Products/Debug/Example\ Embedder.app/Contents/MacOS/Example\ Embedder
Undefined symbols for architecture x86_64:
"OBJC_CLASS$_FLEColorPanelPlugin", referenced from:
objc-class-ref in ExampleWindow.o
"OBJC_CLASS$_FLEFileChooserPlugin", referenced from:
objc-class-ref in ExampleWindow.o
"OBJC_CLASS$_FLEMenubarPlugin", referenced from:
objc-class-ref in ExampleWindow.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered: