iOS xcode

Cleanup simulators

xcrun simctl shutdown all  
xcrun simctl erase all  
xcrun simctl delete unavailable  
Tags: 

Privacy descriptions in info.plist

<key>NSCameraUsageDescription</key>
    <string>$(PRODUCT_NAME) camera use.</string>
    <key>NSContactsUsageDescription</key>
    <string>$(PRODUCT_NAME) contacts use.</string>
    <key>NSPhotoLibraryUsageDescription</key>
    <string>$(PRODUCT_NAME) photos and video use.</string>
    <key>NSBluetoothPeripheralUsageDescription</key>
    <string>$(PRODUCT_NAME) bluetooth use.</string>
    <key>NSMicrophoneUsageDescription</key>
    <string>$(PRODUCT_NAME) microphone use.</string>
    <key>NSMotionUsageDescription</key>
    <string>$(PRODUCT_NAME) motion use.</string>
    <key>NSLocationAlwaysUsageDescription</key>
    <string>$(PRODUCT_NAME) location use.</string>
    <key>NSLocationUsageDescription</key>
    <string>$(PRODUCT_NAME) location use.</string>
    <key>NSLocationWhenInUseUsageDescription</key>
    <string>$(PRODUCT_NAME) location use.</string>
    <key>NSRemindersUsageDescription</key>
    <string>$(PRODUCT_NAME) reminders use.</string>
    <key>NSSiriUsageDescription</key>
    <string>$(PRODUCT_NAME) siri use.</string>
    <key>NSVideoSubscriberAccountUsageDescription</key>
    <string>$(PRODUCT_NAME) video use.</string>
    <key>NSSpeechRecognitionUsageDescription</key>
    <string>$(PRODUCT_NAME) speech recognition use.</string>
    <key>NSCalendarsUsageDescription</key>
    <string>$(PRODUCT_NAME) user your calendar.</string>

Tags: 

Mute log output

scheme arguments, Environment variables

OS_ACTIVITY_MODE disable
-FIRDebugDisabled

Tags: 

xcode environment variables

if ProcessInfo.processInfo.environment["TESTING"] == "1"
{
    Constants.requestTimeoutInterval = 5
}

Tags: 
Subscribe to RSS - iOS xcode