“___gxx_personality_v0”, referenced from:
+[VoiceConverter amrToWav:wavSavePath:] in libVoiceConvert.a(VoiceConverter.o)
+[VoiceConverter wavToAmr:amrSavePath:] in libVoiceConvert.a(VoiceConverter.o)
ld: symbol(s) not found for architecture arm64
Solution: Project > Targets > Select your product target > Build Settings > Other Linker Flags > Add -l"stdc++"
5.How to remove UINavigationBar and UISearchBar hairline?
For a custom shadow image to be shown, a custom background image must also be set with the setBackgroundImage:forBarMetrics: method. If the default background image is used, then the default shadow image will be used regardless of the value of this property.
So we can cut a 1x1 pixel pure color image, set this image as navigation bar’s shadow image.
10. UITableViewStyleGrouped style UITableView has extra space at top
UITableViewStyleGrouped divides each section into a “group” by inserting that extra padding…similar to what it did pre-iOS7, but clear instead of colored by default, and just at the top instead of all the way around. If you don’t want the padding by default, use UITableViewStylePlain.
Otherwise, if you need to keep the style the same, do what this other posted from that link recommended and change the content inset:
Solution: I recently enable Apple ID two-step verification. When I upload app to App Store via Xcode it inform me “You are not authorized to use this service.” I feel very strange. I decide to use Application Loader after search with google. Sign in Application Loader need app-specific password, you can get it follow instructs:
Now we can upload app with Application Loader:
1. Xcode > Open Developer Tool > Application Loader
2. Sign in Application Loader with app-specific password
3. Click on “Choose”
4. Pick the IPA you have just exported
5. Follow submission process
ERROR ITMS-90535: "Unexpected CFBundleExecutable Key. The bundle at 'Payload/sohiOSApp.app/TencentOpenApi_IOS_Bundle.bundle' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue."
Solotion:Removing the CFBundleExecutable key from TencentOpenApi_IOS_Bundle.bundle’s Info.plist and using a CFBundlePackageType of BNDL.
15. Pointer is missing a nullability type specifier
Solution:It’s simply because as soon as you supply any nullability information in a header, you are expected to supply nullability information for everything in that header. Either the whole API is unspecified or the whole API is specified, with regard to nullability. The compiler is just warning you that you have left the job half-finished.