X-code 真机运行包的错误以及解决办法(逐步完善中)

1.原因是demo的Bundle id  与 我们新建的target的Bundle id 不能一致,他们是相互独立的

这里写图片描述

解决办法:修改target的bundle id ,但是出现

"This app contains an app extension with an illegal bundle identifier. App extension bundle identifiers must have a prefix consistingof their containing application's bundle identifierfollowedby a '.'.

的错误

原因:这是因为target的bundle id 与app的证书是有关联的,比如你app的bundle id是 
com.company.appname ,那么你的target的bundle id 应该是com.company.appname.com

2.

猜你喜欢

转载自blog.csdn.net/klong27/article/details/76532349