Re: About building my own framework
Re: About building my own framework
- Subject: Re: About building my own framework
- From: Roland King <email@hidden>
- Date: Thu, 27 Nov 2014 13:24:13 +0800
> On 27 Nov 2014, at 1:12 pm, ico <email@hidden> 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@hidden)
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:
This email sent to email@hidden