uniqueIdentifier is called in chartboost

2019-08-06 00:43发布

问题:

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)