Giter VIP home page Giter VIP logo

Comments (7)

wlevene avatar wlevene commented on July 21, 2024

2015-05-07_17-21-58
(note:right area in image)

use this fun:

  • (void)addFramework:(XCFrameworkDefinition*)frameworkDefinition

build will failed

Undefined symbols for architecture x86_64:
"OBJC_CLASS$_Crasheye", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

from xcodeeditor.

jasperblues avatar jasperblues commented on July 21, 2024

I believe for libraries this process can be used: https://github.com/appsquickly/XcodeEditor#configuring-targets

. . . however, haven't tried this in a while.

from xcodeeditor.

wlevene avatar wlevene commented on July 21, 2024

3q~ I go to try it now ;)

from xcodeeditor.

jasperblues avatar jasperblues commented on July 21, 2024

OK, let me know the result

from xcodeeditor.

wlevene avatar wlevene commented on July 21, 2024

thank u very much , i used this way, and it works ;););););)


XCSourceFileDefinition* libFile = [[XCSourceFileDefinition alloc] initWithName:@"libCrasheye.a" data:[NSData dataWithContentsOfFile:aFile] type:Archive];
[crasheyeGroup addSourceFile:libFile];

    XCSourceFile * libSourceFile = [project fileWithName:@"libCrasheye.a"];

    XCTarget* target = [project targetWithName:self.mProject.projectName];

    [target addMember:libSourceFile];

    for (NSString* configName in [target configurations])
    {
        XCProjectBuildConfig* configuration = [target configurationWithName:configName];
        NSMutableArray* headerPaths = [[NSMutableArray alloc] init];
        [headerPaths addObject:@"$(inherited)"];
        [headerPaths addObject:@"$(PROJECT_DIR)/Crasheye"];
        [configuration addOrReplaceSetting:headerPaths forKey:@"LIBRARY_SEARCH_PATHS"];
    }

from xcodeeditor.

jasperblues avatar jasperblues commented on July 21, 2024

welcome :) 👍

from xcodeeditor.

jasperblues avatar jasperblues commented on July 21, 2024

ps: I'll add this to the README . .

from xcodeeditor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.