Giter VIP home page Giter VIP logo

Comments (11)

cezheng avatar cezheng commented on July 2, 2024

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

from xcodeeditor.

wlevene avatar wlevene commented on July 2, 2024

i wish the author will finish link *.tbd libraries feature in xcode 7 soon, ;)

from xcodeeditor.

cezheng avatar cezheng commented on July 2, 2024

I guess the tbd issue is not XcodeEditor's problem but a problem of Xcode itself, so I guess this issue should be closed

from xcodeeditor.

wlevene avatar wlevene commented on July 2, 2024

the reason is the pbxproj file format is changed, may be need to support it in XcodeEditor

from xcodeeditor.

cezheng avatar cezheng commented on July 2, 2024

I don't think so. Even if you manually add the libz.tbd to your project in Xcode, it fails

from xcodeeditor.

wlevene avatar wlevene commented on July 2, 2024

i manually add the libz.tbd to my project in Xcode, it is ok
195d1538-56f5-4ff5-8148-de7813b7cbf9

from xcodeeditor.

cezheng avatar cezheng commented on July 2, 2024

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

from xcodeeditor.

jasperblues avatar jasperblues commented on July 2, 2024

@cezheng @gangwang Agree we can close this?

from xcodeeditor.

akame avatar akame commented on July 2, 2024

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 from function :- (void)addFramework:(XCFrameworkDefinition *)frameworkDefinition; in XCGourp.m .
I change:
fileReference = [self makeFileReferenceWithPath:path name:name type:Framework]
to
fileReference = [self makeFileReferenceWithPath:path name:name type:Dylib]

I'm a new programmer ,and if I was wrong, forgive me .

from xcodeeditor.

wlevene avatar wlevene commented on July 2, 2024

@akame hahaha~~~~~ thank you! you are right, i follow u step, it works! @jasperblues

from xcodeeditor.

forwardto9 avatar forwardto9 commented on July 2, 2024

@akame nice! but you also add buidPharse item

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.