-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Hi,
I am new to xcake.
(The Repo is over here: https://github.com/srbaker/Raphael)
I have the following Cakefile, and it references a framework which is built already that I just want to add to my project:
project.name = "Raphael"
project.class_prefix = "RAP"
application_for :osx, 10.11 do |target|
target.name = "Raphael"
target.all_configurations.each { |configuration|
configuration.product_bundle_identifier = "com.stevenrbaker.raphael"
configuration.settings["FRAMEWORK_SEARCH_PATHS"] = "../libs-renaissance/Source/**"
}
target.include_files << "../libs-renaissance/Source/Renaissance.framework"
target.copy_files_build_phase "Embed Frameworks" do |phase|
phase.files = [
"../libs-renaissance/Source/Renaissance.framework"
]
phase.destination = :frameworks
end
target.language = :objc
target.type = :application
endWhen I build and run in Xcode, it can't find the framework. And it's not added to the built app.
The error is:
dyld[30429]: Library not loaded: Renaissance.framework/Renaissance
Referenced from: /Users/srbaker/Library/Developer/Xcode/DerivedData/Raphael-fgxqqojptmejsqhakvbdzhcssxdi/Build/Products/Debug/Raphael.app/Contents/MacOS/Raphael
Reason: tried: '/Users/srbaker/Library/Developer/Xcode/DerivedData/Raphael-fgxqqojptmejsqhakvbdzhcssxdi/Build/Products/Debug/Renaissance.framework/Renaissance' (no such file), 'Renaissance.framework/Renaissance' (no such file), '/Library/Frameworks/Renaissance.framework/Renaissance' (no such file), '/System/Library/Frameworks/Renaissance.framework/Renaissance' (no such file)
I suspect this is a complete newbie error on my part. Thanks!
Metadata
Metadata
Assignees
Labels
No labels