Skip to main content

Posts

Showing posts with the label Xcode

Xcode - ld: library not found for -lDoubleConversion

Here's how you fix this issue Ran into this with the iOS version of my React Native application, the fix is very quick and easy: We need to disable dead code stripping for our release, this is how to do it: Open XCode and press: Cmd + 1 Click on your project in the left panel Click on "Build Settings" In the "Linking" section, under the "Dead Code Stripping" section, change the setting for "Release" from "Yes" to "No"

"Multiple commands produce'' error when building with Xcode

Quick and easy fix if you run into this issue I ran into this issue whilst trying to publish my React Native app for iOS. The fix is quick and easy: change the build system to Legacy. File > Workspace Settings > Build System > Select "Legacy Build System" It's as simple as that! This fixes the issue for publishing your iOS app.

Adding a space to your iOS App Name

How to add a space to your display name There is a cap of sorts for iOS applications where once your display name exceeds 12 characters, it will strip any spaces in it. There are a lot of posts on StackOverflow about this, however the missed one small detail on how to edit the value. What we need to do is edit info.plist. You can try this in Xcode but it doesn't work, you need to use another text editor - in my case I used Visual Studio Code. Your directory structure may vary, here I am working on a React Native project. Instead of iOS, your root folder may be your project name.  Go to: build > * Your application name * > edit info.plist The value we want to update is " CFBundleDisplayName ".  Where the space(s) are, we need to replace the space here with:      Your CFBundleDisplayName should then look like this: That is all there is to it! Hope this helps you out.