Bug ed Errori Q&A

Come rimuovere CocoaPods da un progetto xCode

Questo è un piccolo tutorial che vi aiuterà a rimuovere  CocoaPods da un progetto Xcode Questo non disinstallerà CocoaPods dal tuo Mac ma ti aiuterà a cancellare il tuo progetto da CocoaPods e rimuovere Pods. Segui questi passi per rimuovere CocoaPods dal tuo progetto Xcode […]

Bug ed Errori Q&A

Come risolvere in xCode ‘NSUnknownKeyException’, reason: … this class is not key value coding-compliant for the key X” error?

Sto cercando di collegare una UILabel con un IBOutlet creato nella mia classe. La mia applicazione si blocca con il seguente errore. Che cosa significa? Come posso correggerlo? *** Chiusura dell’applicazione a causa dell’eccezione non colta ‘NSUnknownKeyException’, motivo: “[<UIViewController 0x6e36ae0> setValue:forUndefinedKey:]: questa classe non è […]

Bug ed Errori Q&A

xCode: come risolvere “Transport security has blocked a cleartext HTTP” in maniera definitiva

Se stai usando Xcode 8.0+ e Swift 2.2+ o in ogni caso Objective C: <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> <key>NSExceptionDomains</key> <dict> <key>example.com</key> <dict> <key>NSExceptionAllowsInsecureHTTPLoads</key> <true/> <key>NSIncludesSubdomains</key> <true/> </dict> </dict> </dict>   Dovete impostare la chiave NSAllowsArbitraryLoads su YES sotto il dizionario NSAppTransportSecurity nel vostro file info.plist. […]

Bug ed Errori Q&A

Xcode 10 Error: Multiple commands produce

error: Multiple commands produce ‘/Users/uesr/Library/Developer/Xcode/DerivedData/OptimalLive-fxatvygbofczeyhjsawtebkimvwx/Build/Products/Debug-iphoneos/OptimalLive.app/Info.plist’: 1) Target ‘OptimalLive’ has copy command from ‘/Users/uesr/Desktop/workSpace/SEALIVE/SeaLive1.1/OptimalLive/Info.plist’ to ‘/Users/uesr/Library/Developer/Xcode/DerivedData/OptimalLive-fxatvygbofczeyhjsawtebkimvwx/Build/Products/Debug-iphoneos/OptimalLive.app/Info.plist’ 2) Target ‘OptimalLive’ has copy command from ‘/Users/uesr/Desktop/workSpace/SEALIVE/SeaLive1.1/OptimalLive/Server/Masonry/Info.plist’ to ‘/Users/uesr/Library/Developer/Xcode/DerivedData/OptimalLive-fxatvygbofczeyhjsawtebkimvwx/Build/Products/Debug-iphoneos/OptimalLive.app/Info.plist’ 3) Target ‘OptimalLive’ has process command with input ‘/Users/uesr/Desktop/workSpace/SEALIVE/SeaLive1.1/OptimalLive/Info.plist’   L’esecuzione del codice in Xcode9 funziona, ma c’è un errore […]

Bug ed Errori Q&A

Come risolvere Xcode ERROR ITMS-90783: “Missing bundle display name”

Oggi ho iniziato a ricevere questo errore con fastlane e Xcode: ERROR ITMS-90783: “Nome del display del bundle mancante. La chiave Info.plist CFBundleDisplayName del CFBundleDisplayName manca o ha un valore vuoto nel bundle con l’identificatore del bundle ‘com.id’”. Era tutto a posto e non ho […]

Bug ed Errori Q&A

Command CompileAssetCatalog failed with a nonzero exit code

L’errore durante la compilazione “Command CompileAssetCatalog failed with a nonzero exit code”  si può risolvere in diverse maniere: 1- Rimuovere la cartella Reference Assets.xcassets. 2- Clean (sia CMD + MAIUSC + K e CMD + ALT + MAIUSC + K). 3- Build (CMD + B). […]

Bug ed Errori Q&A

Come risolvere in xCode ‘ld: warning: directory not found for option’

Quando costruisco le mie app Xcode 4 ricevo questo avviso: ld: avviso: directory non trovata per l’opzione ‘-L/Users/frenck/Downloads/apz/../../../../../Downloads/Google Analytics SDK/Library’. ld: avviso: directory non trovata per l’opzione ‘-L/Users/frenck/Downloads/apz/../Google Analytics SDK/Library’. ld: warning: directory not found for option ‘-L/Users/frenck/Downloads/apz/../../../Downloads/Google Analytics SDK/Library’ ld: warning: directory not found […]

Bug ed Errori Q&A

TMS-90809: Deprecated API Usage – Apple will stop accepting submissions of apps that use UIWebView

Come risolvere l’errore: TMS-90809: Deprecated API Usage – Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information. tradotto: TMS-90809: Utilizzo dell’API obsoleto: Apple smetterà di accettare l’invio di app che utilizzano API UIWebView. Vedi https://developer.apple.com/documentation/uikit/uiwebview per ulteriori […]

Bug ed Errori Q&A

Duplicate symbols for architecture x86_64 e Xcode

Ora ho la stessa domanda con il titolo di cui sopra, ma non ho ancora trovato la risposta giusta. Ho trovato l’errore: /Users/nle/Library/Developer/Xcode/DerivedData/TestMoboSDK-Client-cgodalyxmwqzynaxfbbewrooymnq/Build/Intermediates/TestMoboSDK-Client.build/Debug-iphonesimulator/TestMoboSDK-Client.build/Objects-normal/x86_64/MoboSDK.o /Users/nle/Library/Developer/Xcode/DerivedData/TestMoboSDK-Client-cgodalyxmwqzynaxfbbewrooymnq/Build/Products/Debug-iphonesimulator/libMoboSDK.a(MoboSDK.o) duplicate symbol _OBJC_METACLASS_$_MoboSDK in: /Users/nle/Library/Developer/Xcode/DerivedData/TestMoboSDK-Client-cgodalyxmwqzynaxfbbewrooymnq/Build/Intermediates/TestMoboSDK-Client.build/Debug-iphonesimulator/TestMoboSDK-Client.build/Objects-normal/x86_64/MoboSDK.o /Users/nle/Library/Developer/Xcode/DerivedData/TestMoboSDK-Client-cgodalyxmwqzynaxfbbewrooymnq/Build/Products/Debug-iphonesimulator/libMoboSDK.a(MoboSDK.o) ld: 75 duplicate symbols for architecture x86_64 clang: error: linker command failed with exit code […]

Bug ed Errori Q&A

Come risolvere in xCode: Apple Mach-O Linker Warning “Directory Not Found For Option…”

Voglio semplicemente liberarmi degli avvertimenti che compaiono in questo modo: ld: warning: directory not found for option ‘-F/Users/m/Desktop/FacebookSDK’ ld: warning: directory not found for option ‘-F/Users/m/Desktop/FacebookSDK/FBAudienceNetwork’ ld: warning: directory not found for option ‘-F/Users/gavin/Downloads/shaffiulla11-bat-b86d81d8adc6’ ld: warning: directory not found for option ‘-F/Users/gavin/Desktop/shaffiulla11-bat-b86d81d8adc6’ ld: warning: ignoring […]