> On 27 Nov 2014, at 1:12 pm, ico <[email protected]> wrote: > > I just create a demo project to experience building my own framework. So > far everything works fine. However, if I set my app deploy target to > iOS7.0, and do the same for the framework target, then I get a warning: > "ld: warning: embedded dylibs/frameworks only run on iOS 8 or later". > > It seems the framework mechanism only works on iOS8, but if I just ignore > this warning, and run the app on simulator, everything works, I can call > the API from my own framework. > I just don't understand, what all these about? I still can build my own > framework and run on iOS7 or not? > > It would be very appreciated if anyone can explain the whole story. >
I see you posted the exact same question in the dev forums at exactly the same time. You can’t use a Framework on iOS7, it works in the simulator because that runs on OS X and can do things devices can’t do. If you try it on an actual iOS7 device it will fail. The warning should be taken seriously (actually the warning should be an error). _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
