Comments (8)
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.
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.
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.
@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.
@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.
from ios-framework.
I've submitted a pull request from my fork.
from ios-framework.
@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.
Closing this barring further developments. Please reopen if this isn't yet resolved.
from ios-framework.
Related Issues (20)
- Serenity.framework/Serenity (No such file or directory) HOT 2
- nested .bundle's possible? HOT 3
- Can I rename the framework or I need to create new project and target? HOT 2
- Unable to embed a static library in the Framework target HOT 1
- .a is not being created during build HOT 1
- Issue post start up.
- There are xcdatamodel files in frameworks, how can I package the mom files into resource bundle? HOT 1
- Using [NSBundle bundleForClass] gives bad path HOT 1
- Framework is not building for all architecture in Xcode 6.1 HOT 2
- Can I use cocoapods in my framework? HOT 4
- Missing cache file warnings for the framework built in Xcode 7 HOT 2
- Xcode 7 does not have armv7s in $(ARCHS_STANDARD) HOT 1
- XCode 7.1 Archive upload failure
- Error when creating Universal Build HOT 1
- Error when creating Universal Build HOT 1
- Header Files Visiblity
- Show dog breed and dog name in Admin.
- Module compiled with Swift 5.1.2 cannot be imported by the Swift 5.3 Compiler
- Update README to include instructions on how to create a 'pure build' without third party libraries HOT 2
- Will it generate dSYM file?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ios-framework.