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

后端 未结 2 1597
春和景丽
春和景丽 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

    0 讨论(0)
  • 2021-01-20 07:34

    I had very simmilar problems. Try to add constraints for all your items in Today view. It works for me.

    0 讨论(0)
提交回复
热议问题