曹宇翔

Results 6 comments of 曹宇翔

@hartman Have you fix this problem?I add some code,and it works.

I add some Code ************_in XCGroup.m**_*********** - (void)addEmbeddedFramework:(XCFrameworkDefinition *)framework toTargets:(NSArray *)targets{ [self addFramework:framework]; XCSourceFile *embedded = (XCSourceFile *) [self memberWithDisplayName:[framework fileName]]; [self addEmbeddedSourceFile:embedded toTargets:targets]; } - (void)addEmbeddedSourceFile:(XCSourceFile *)sourceFile toTargets:(NSArray *)targets...

Of course we should change buildFileKey function in XCSourceFile.m ************_XCSourceFile.m**_********** - (NSString *)buildFileKey { if (_buildFileKey == nil) { [[_project objects] enumerateKeysAndObjectsUsingBlock:^(NSString *key, NSDictionary *obj, BOOL *stop) { if ([[obj...

At last I change XcodeBuildConfiguration: for (NSString *configName in [target configurations]) { //Debug Release XCProjectBuildConfig *config = [target configurationWithName:configName]; NSString *ldRunPath = @"$(inherited) @executable_path/Frameworks"; [config addOrReplaceSetting:ldRunPath forKey:@"LD_RUNPATH_SEARCH_PATHS"]; } @hartman

Yes, duplicate a target have some bug,So i remove file first, and then duplicate target.......

I think this problem because XcodeEditor doesn't support .tbd file, I add Dylib = 24 in XcodeSourceFileType.h and @"sourcecode.text-based-dylib-definition" : @(Dylib) in XcodeSourceFileType.m(NSDictionaryWithXCFileReferenceTypes). At last, I copy a new function...