-
Notifications
You must be signed in to change notification settings - Fork 134
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
addframework failed in xcode7 #56
Comments
linking against *.tbd libraries seems to be an unfinished feature in xcode 7, try adding -lz in the OTHER_LD_FLAGS which will do what you want |
i wish the author will finish link *.tbd libraries feature in xcode 7 soon, ;) |
I guess the tbd issue is not XcodeEditor's problem but a problem of Xcode itself, so I guess this issue should be closed |
the reason is the pbxproj file format is changed, may be need to support it in XcodeEditor |
I don't think so. Even if you manually add the libz.tbd to your project in Xcode, it fails |
Oh, maybe *.tbd cannot be used in a static library project. I have a static library project and if I add a tbd file the build just fails |
I think this problem because XcodeEditor doesn't support .tbd file, At last, I copy a new function from function :- (void)addFramework:(XCFrameworkDefinition *)frameworkDefinition; in XCGourp.m . I'm a new programmer ,and if I was wrong, forgive me . |
@akame hahaha~~~~~ thank you! you are right, i follow u step, it works! @jasperblues |
@akame nice! but you also add buidPharse item |
I updated xcode to xcode7, happened this
static const NSString* SDK_PATH = @"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk";
{
return [SDK_PATH stringByAppendingPathComponent:@"/usr/lib/libz.tbd"];
}
XCFrameworkDefinition* frameworkDefinition = [[XCFrameworkDefinition alloc] initWithFilePath:[XCFrameworkPath libzDylibPath] copyToDestination:NO];
[frameworksGroup addFramework:frameworkDefinition toTargets:[project targets]];
here is ok~ but when i build the project, failed for this
The text was updated successfully, but these errors were encountered: