iOS 8 beta - Today extension doesn't recognize embedded framework

后端 未结 2 1596
春和景丽
春和景丽 2021-01-20 06:40

I\'m writing an app which also has a Today extension (or widget). Apple\'s recommended method of sharing code between extensions and containing apps is to put the shared cod

2条回答
  •  有刺的猬
    2021-01-20 07:17

    Actually you are adding the framework in Target Dependencies. That's wrong. Target Dependencies is the place where we should specify some other targets which should get compile in order to run our main target.

    Add your framework in to Link Binary With Libraries , if necessary set framework search path in build settings

提交回复
热议问题