uniqueIdentifier is called in chartboost

对着背影说爱祢 提交于 2019-12-11 13:18:42

问题


In my app I use new Chartboost sdk 3.2.1 But still while i checked it for uniqueIdentifier it will give me error.

Please help me to solve it to submit app on appstore.

I just Find the class that use the UDID by

(terminal in the project directory)

find . | grep -v .svn  | grep "\.a" | grep -v "\.app" | xargs grep uniqueIdentifier

and get this in terminal

Binary file ./libChartboost.a matches


回答1:


After wasting 1.5 days finally I got solution and my application is now submitted to App Store.

After play a lot with terminal, finally I used this command

grep -r 'uniqueIdentifier' * .[!.]*

It will Search for a string inside all files in the current directory and recursively searches dirs and files.(also search for hidden)

so after that I found in terminal

  1. There are some extra classes in my project directory which I never used in my xcode project and they are called uniqueIdentifier
  2. Also Binary file libChartboost.a matches
  3. Binary file RevMobAds.framework/RevMobAds matches Binary file RevMobAds.framework/Versions/A/RevMobAds matches Binary file RevMobAds.framework/Versions/Current/RevMobAds matches

Now, for Problem 1 I removed extra unusable classes

for Problem 2 Chartboost

  1. Drag & drop Chartboost in project
  2. Uncheck -Copy items into destination group's folder(if needed)
  3. Select -Create groups for any added folders
  4. Add to targets

and For Problem 3 RevMobAds

  1. Drag & drop RevMobAds.framework in project
  2. Uncheck -Copy items into destination group's folder(if needed)
  3. Select -Create folder references for any added folders
  4. Add to targets

I USED UPDATED THIRD-PARTY LIBRARY BOTH TIME.

Strange but it will works and now my app is submitted.Hope it will help someone.

Note:Please tell me why Chartboost and RebMobsads.framework will give me error while i checked -Copy items into destination group's folder(if needed) in my project.(If anyone have any idea)



来源:https://stackoverflow.com/questions/16916309/uniqueidentifier-is-called-in-chartboost

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!