Code Monkey home page Code Monkey logo

Comments (8)

aggieben avatar aggieben commented on July 2, 2024

build_framework.sh depends on $BUILD_PRODUCTS_DIR containing the platform name so as to create a build dir for the "other" platform. It seems that $BUILD_PRODUCTS_DIR does not include the platform string in Xcode 5 (or I'm doing something wrong).

from ios-framework.

JoeCortopassi avatar JoeCortopassi commented on July 2, 2024

Is there a workaround for this now that the GM for Xcode 5 is available? Also, did you mean $BUILT_PRODUCTS_DIR rather than $BUILD_PRODUCTS_DIR?

from ios-framework.

PaulSolt avatar PaulSolt commented on July 2, 2024

I'm able to build the samples targeting base SDK iOS 7.0 with Xcode 5 GM without issues. However I haven't tried making a new project following the steps on Xcode 5. I'll be digging into it today.

from ios-framework.

program247365 avatar program247365 commented on July 2, 2024

@PaulSolt Any progress on this? Doing this from scratch with Xcode 5, it doesn't seem to build my .a file in my derived data. Am I missing something?

I'm on OSX 10.8.5, using Xcode Version 5.0 (5A1413).

Here's what my dir structure after following the README.md to Step 5. Successful build, but my .a file isn't there:

https://www.dropbox.com/s/zr03axah15p2v96/Screenshot%202013-10-03%2007.41.06.png


Also you may need to update your example project to contain the new 'arm64' architecture when building.

from ios-framework.

PaulSolt avatar PaulSolt commented on July 2, 2024

@program247365 Kevin, did you add any .m files to the Build Phase for Compile Sources? I believe you won't get a .a file if there are no files in the static library. Add a simple "Widget" class to test it out. See my image below.

It works for me. I've been working to update the doc for iOS 7 and Xcode 5. You can see my branch here: https://github.com/PaulSolt/iOS-Framework/tree/iOS-7

@dennycd @aggieben @JoeCortopassi I don't have any issues with the scripts on Xcode 5 with iOS 7 targeting arm64.

Xcode 5 Test Static Framework

from ios-framework.

PaulSolt avatar PaulSolt commented on July 2, 2024

I've submitted a pull request from my fork.

#62

from ios-framework.

program247365 avatar program247365 commented on July 2, 2024

@PaulSolt I did have my .m files there.

Looks my issue that I had not chosen 'iOS Device' in my schema. I had it set to one of the simulators. When choosing 'iOS Device', and then building, I do get the .a file created again.

Thanks for updating the documentation!

from ios-framework.

jverkoey avatar jverkoey commented on July 2, 2024

Closing this barring further developments. Please reopen if this isn't yet resolved.

from ios-framework.

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.