xcode10

Error: Could not build Objective-C module 'Firebase' with Swift 5

浪子不回头ぞ 提交于 2020-08-10 20:13:06
问题 I want to use Firebase with Swift 5, but error message appears. Could not build Objective-C module 'Firebase' I tried all resolutions on below pages, but I can't solve it: Error: Could not build Objective-C module 'Firebase' https://github.com/firebase/quickstart-ios/issues/672 import UIKit import Firebase @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions:

Flutter app Error while initializing the Dart VM: Wrong full snapshot version, expected '8343…' found '46b2…'

好久不见. 提交于 2020-08-05 04:12:05
问题 flutter app was working getting build and run on Xcode 10 on device iOS 12 fine before, The time dart upgrade 2.1.0 happen in Flutter build iOS worked well with command and on Xcode 10 after build get success while running Flutter app on iPhone 7 iOS 12, it started giving error and app gets crash with following error message in Xcode logs. Error is Runner[410:28754] [VERBOSE-3:dart_vm.cc(403)] Error while initializing the Dart VM: Wrong full snapshot version, expected

Xcode 10 Build Phase Shell Script

别说谁变了你拦得住时间么 提交于 2020-06-24 09:53:29
问题 In our project we derive our release version from git tag etc then write it to the built folder's Info.plist with a shell script like: GIT_RELEASE_VERSION=$(some git command) defaults write "${BUILT_PRODUCTS_DIR}/${INFOPLIST_PATH%.*}" "CFBundleShortVersionString" "${GIT_RELEASE_VERSION#*v}" This has worked well for all past Xcode versions, but in Xcode 10's New Build System this failed to actually update the CFBundleShortVersionString in the info.list file. The value is correctly updated with

Weird behaviour of Xcode 11 Debugger - Showing values as nil when there's a value

笑着哭i 提交于 2020-06-14 06:02:09
问题 I just noticed weird behaviour of Xcode11, I am executing same code in Xcode 10 and Xcode 11. See the below attached screenshot for both the versions. I am creating a url from String, When I put a debugger and check the value of myUrl it shows nil although at very next line it passes nil check and control goes into the not nil case. See the console too. have anyone already faced this type of issue? or I am doing something wrong. P.S: Already Cleared cache, derived data, clean build, restart

Xcode 10: Code Signing my App+Framework fails, because of failure signing 3rd party dependency framework (PromiseKit). Works in Xcode 9

寵の児 提交于 2020-06-09 12:01:23
问题 I have an Xcode 10 - iOS12 swift project that links against My own framework (also Xcode 10 + iOS12). The app project is referencing my framework project as a sub-project reference. My Framework project references PromiseKit.framework (a universal framework - fat library), made using the following build script: # Merge Script # 1 # Set bash script to exit immediately if any commands fail. set -e # 2 # Setup some constants for use later on. FRAMEWORK_NAME="PromiseKit" # 3 # If remnants from a

How to fix “fatal error: 'iostream' file not found” after upgrading to Xcode 10.1

*爱你&永不变心* 提交于 2020-05-28 12:02:13
问题 This error has only appeared for me since updating Xcode (and to MacOS Mojave 10.14). Something similar happened with #include <Python> , which I fixed by instead using #include "python2.7/Python.h". There is a similar error discussed in Clang doesn't see basic headers. When I try clang++ -stdlib=libc++ PyTrans.cpp -o -v I get ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) . The full error: warning: include path

Xcode 10 warning: Stale file '/path/to/file' is located outside of the allowed root paths

老子叫甜甜 提交于 2020-05-24 14:44:49
问题 Xcode 10 produces this warning when running xcodebuild in a run script phase of a build target. I do this to produce the binary for the other platform (simulator/real device) to lipo into a fat binary for distribution. The warning is produced for every file in the target intermediates directory, for example: warning: Stale file '/Users/nick/Library/Developer/Xcode/DerivedData/App-ctjxvxdmomwoobfgvvasfhwvcnhy/Build/Intermediates.noindex/Library-Target.build/Debug-iphonesimulator/Sub-Library

Xcode 10.3 failing to run on iOS 13 iPhone X - This iPhone X is running iOS 13.0 (17A577), which may not be supported by this version of Xcode

亡梦爱人 提交于 2020-05-23 11:44:24
问题 I updated to iOS 13 on my iPhone X and have Xcode 10.3 and am unable to run my project ton my phone. It gives me a notice of: Could not locate device support files and gives me this error: This iPhone X is running iOS 13.0 (17A577), which may not be supported by this version of Xcode I've looked everywhere, but since this release is new, how can I fix this? 回答1: You should upgrade your Xcode to the latest 11.0 in App Store, which contain support for iOS 13. 回答2: Your version of Xcode does not

Command CompileSwift failed with a nonzero exit code in Xcode 10 [duplicate]

孤街浪徒 提交于 2020-05-09 17:48:05
问题 This question already has answers here : Build fails with “Command failed with a nonzero exit code” (34 answers) Closed last year . Good afternoon, After updating to the latest version of Xcode at the moment (version 10.0) the project is unable to build because it found some errors regarding some "Command CompileSwift failed with a nonzero exit code" error. How do I solve this errors? They appear in most of the Pods (I use CocoaPods) I use inside my project. I have tried updating the pod

Xcode Command CodeSign failed with non zero when deploying to device

两盒软妹~` 提交于 2020-03-28 07:00:08
问题 I received this error when trying to deploy application to device. I am using Xcode 10.1 with free developer account. In signing section I set personal team with signing certificate iPhone Developer. I can ran the app in iOS simulator but not run in real device. Exact error message: CodeSign /Users/***/Library/Developer/Xcode/DerivedData/****-eqztbodhqkugrwevuvkmzysmcvdj/Build/Products/Debug-iphoneos/****\ Mobile.app (in target: ******) cd /Users/***/Projects/**********/platforms/ios export