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

macOS ApolloSQLite link to wrong framework #418

Closed
cannium opened this issue Dec 6, 2018 · 1 comment
Closed

macOS ApolloSQLite link to wrong framework #418

cannium opened this issue Dec 6, 2018 · 1 comment
Labels
dependency-management Issues with CocoaPods, Carthage, or SPM integration

Comments

@cannium
Copy link

cannium commented Dec 6, 2018

from build log:

Ld /Users/can/Library/Caches/org.carthage.CarthageKit/DerivedData/10.1_10B61/apollo-ios/0.9.4/Build/Intermediates.noindex/ArchiveIntermediates/ApolloSQLite/IntermediateBuildFilesPath/UninstalledProducts/macosx/ApolloSQLite.framework/Versions/A/ApolloSQLite normal x86_64 (in target: ApolloSQLite)
    cd /Users/can/go/src/github.com/ipbit/graphy/swift_example/Carthage/Checkouts/apollo-ios
    export MACOSX_DEPLOYMENT_TARGET=10.10
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -L/Users/can/Library/Caches/org.carthage.CarthageKit/DerivedData/10.1_10B61/apollo-ios/0.9.4/Build/Intermediates.noindex/ArchiveIntermediates/ApolloSQLite/BuildProductsPath/Release -F/Users/can/Library/Caches/org.carthage.CarthageKit/DerivedData/10.1_10B61/apollo-ios/0.9.4/Build/Intermediates.noindex/ArchiveIntermediates/ApolloSQLite/BuildProductsPath/Release -filelist /Users/can/Library/Caches/org.carthage.CarthageKit/DerivedData/10.1_10B61/apollo-ios/0.9.4/Build/Intermediates.noindex/ArchiveIntermediates/ApolloSQLite/IntermediateBuildFilesPath/ApolloSQLite.build/Release/ApolloSQLite.build/Objects-normal/x86_64/ApolloSQLite.LinkFileList -install_name @rpath/ApolloSQLite.framework/ApolloSQLite -Xlinker -rpath -Xlinker @executable_path/../Frameworks -Xlinker -rpath -Xlinker @loader_path/../Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -mmacosx-version-min=10.10 -Xlinker -object_path_lto -Xlinker /Users/can/Library/Caches/org.carthage.CarthageKit/DerivedData/10.1_10B61/apollo-ios/0.9.4/Build/Intermediates.noindex/ArchiveIntermediates/ApolloSQLite/IntermediateBuildFilesPath/ApolloSQLite.build/Release/ApolloSQLite.build/Objects-normal/x86_64/ApolloSQLite_lto.o -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx -Xlinker -add_ast_path -Xlinker /Users/can/Library/Caches/org.carthage.CarthageKit/DerivedData/10.1_10B61/apollo-ios/0.9.4/Build/Intermediates.noindex/ArchiveIntermediates/ApolloSQLite/IntermediateBuildFilesPath/ApolloSQLite.build/Release/ApolloSQLite.build/Objects-normal/x86_64/ApolloSQLite.swiftmodule -framework Apollo /Users/can/Library/Caches/org.carthage.CarthageKit/DerivedData/10.1_10B61/apollo-ios/0.9.4/Build/Intermediates.noindex/ArchiveIntermediates/ApolloSQLite/BuildProductsPath/Release-iphoneos/SQLite.framework/SQLite -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/can/Library/Caches/org.carthage.CarthageKit/DerivedData/10.1_10B61/apollo-ios/0.9.4/Build/Intermediates.noindex/ArchiveIntermediates/ApolloSQLite/IntermediateBuildFilesPath/ApolloSQLite.build/Release/ApolloSQLite.build/Objects-normal/x86_64/ApolloSQLite_dependency_info.dat -o /Users/can/Library/Caches/org.carthage.CarthageKit/DerivedData/10.1_10B61/apollo-ios/0.9.4/Build/Intermediates.noindex/ArchiveIntermediates/ApolloSQLite/IntermediateBuildFilesPath/UninstalledProducts/macosx/ApolloSQLite.framework/Versions/A/ApolloSQLite
clang: error: no such file or directory: '/Users/can/Library/Caches/org.carthage.CarthageKit/DerivedData/10.1_10B61/apollo-ios/0.9.4/Build/Intermediates.noindex/ArchiveIntermediates/ApolloSQLite/BuildProductsPath/Release-iphoneos/SQLite.framework/SQLite'

seems related to #386

@designatednerd
Copy link
Contributor

This should be addressed via #475. Please open a new issue if you continue to experience problems. Thank you!

@designatednerd designatednerd added the dependency-management Issues with CocoaPods, Carthage, or SPM integration label Jul 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency-management Issues with CocoaPods, Carthage, or SPM integration
Projects
None yet
Development

No branches or pull requests

2 participants