问题
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
- There are some extra classes in my project directory which I never used in my xcode project and they are called uniqueIdentifier
- Also Binary file libChartboost.a matches
- 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
- Drag & drop Chartboost in project
- Uncheck -Copy items into destination group's folder(if needed)
- Select -Create groups for any added folders
- Add to targets
and For Problem 3 RevMobAds
- Drag & drop RevMobAds.framework in project
- Uncheck -Copy items into destination group's folder(if needed)
- Select -Create folder references for any added folders
- 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