xcode10

Xcode: could not load ModelIO.framework, SceneKit.framework, etc

风格不统一 提交于 2019-12-12 07:12:39
问题 Before updating to macOS Mojave my app ran fine without errors, however, I get this error after the update. I have been Googling for 2 days but it seems no one has run into this error yet. Note: The app does run as expected. The 3D model file is in the .scn format. Buildtime error: /scntool:-1: Could not load ModelIO.framework ((null)) /scntool:-1: Could not load SceneKit.framework ((null)) /scntool:-1: Could not load PhysicsKit.framework ((null)) /scntool:-1: Could not load Jet.framework (

Xcode 10 Archived App Doesn't Run on Macs with Xcode 9 or Earlier Installed: DYLD, [0x4] Symbol missing?

前提是你 提交于 2019-12-11 19:05:11
问题 The crash log begins like so: Termination Reason: DYLD, [0x4] Symbol missing Application Specific Information: dyld: launch, loading dependent libraries Dyld Error Message: Symbol not found: __T0SiN Referenced from: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libswiftos.dylib Expected in: /Volumes/VOLUME/*/REDACTED.app/Contents/MacOS/../Frameworks/libswiftCore.dylib in /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault

How to force CI to use the latest pods after project was moved to Xcode 10 and latest wift 4.2?

孤街醉人 提交于 2019-12-11 17:06:49
问题 The question is because we see an error after moving project to the latest Xcode 10 and Swift 4.2: My fastfile looks like: before_all do xcversion(version: "10.0") end lane :test do scan(scheme: SCHEME_NAME, code_coverage: true, output_directory: OUTPUT_PATH + 'tests') xcov( scheme: SCHEME_NAME, workspace: WORKSPACE_FILE_PATH, json_report: true, markdown_report: true, output_directory: OUTPUT_PATH + "coverage", skip_slack: true, only_project_targets: true ) end and gitlab-ci.yml : stages: -

Updating to Xcode 10 made value wrapped with “Optional()”

回眸只為那壹抹淺笑 提交于 2019-12-11 14:40:08
问题 So recently I switch from Xcode 9 to Xcode 10 for my iOS app development. the first thing I noticed that when I tried to print out a variable, the value is wrapped with optional , while in Xcode 9 it never happened . for example here is the code that I test. let version = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as! String let build = Bundle.main.object(forInfoDictionaryKey: kCFBundleVersionKey as String) as! String let parameters = ["branch_id": loginData

reload tableView from Another ViewController Swift 4.2

眉间皱痕 提交于 2019-12-11 09:55:40
问题 when i am trying to call method from another VC reloadData() then the app crash Fatal error: Unexpectedly found nil while unwrapping an Optional value due to tablview nil how can resolve it. FavoritesFiltersViewController.shareInstance.reloadData() 回答1: You can use notificationCenter for the reload tableView data from another viewController like below : 1. You can add this line to another viewController. NotificationCenter.default.post(name: NSNotification.Name(rawValue: "newDataNotif"),

Unity3D exported source : c++ header files not recognised

混江龙づ霸主 提交于 2019-12-11 09:39:38
问题 Unity3D 4.7.2 exported source worked perfect in Xcode 9. Same code gave file not found error in latest Xcode 10.1 #include <algorithm> // Got error here saying file not found. So I just changed C++ Standard Library to libc++(LLVM C++ standard library) After this change all compiler errors gone.... got lots of linker error for c++ How to solve these errors ? 回答1: As Programmer suggested, libc++ removed from Xcode 10. Simplest work around is to copy it from Xcode 9.4 Copy c++ from /Applications

How to fix “nsurlconnection finished with error - code 1100 ” error for UIWebView in IOS?

人走茶凉 提交于 2019-12-11 08:41:16
问题 I am working on an existing project where UIWebview is used to load html string to load js files for loading contents downloaded from our server.Currently UIWebview is not able to load the contents in IOS which is perfectly loading in Android. I have tried to switch to WKWebView but still no luck. self.webContentView.delegate = self; NSString* html = [player getHTMLString]; NSString* baseURL = [player getBaseURLPath]; [self.pageLoadingActivity startAnimating]; [self.webContentView

Xcode Playgrounds Shared Directory Not Working

自古美人都是妖i 提交于 2019-12-11 07:38:39
问题 When creating an Xcode Playground, the supported playgroundSharedDataDirectory does not properly show my the expected directory. Expected: ~/Documents/Shared Playground Data Actual: file:///var/folders/46/zg_mg07d5h5_9t6q_4vr9_2w0000gn/T/com.apple.dt.Xcode.pg/containers/com.apple.dt.playground.stub.iOS_Simulator.MyPlayground-BEF6F13E-994E-45C9-A18E-7DE953069D69/Documents/Shared%20Playground%20Data/ import UIKit import PlaygroundSupport print(playgroundSharedDataDirectory) This also does not

iOS 12 freezes application

风格不统一 提交于 2019-12-11 07:04:48
问题 Hello everyone I have a very strange issue with iOS 12 , my application is a simple table of all the games I did in iOS, the project, I did with swift 4 for iOS 11 with XCode 9 , I use a simple Storyboard with 2 viewcontrollers with tableviews and also includes a Share Extension, everything works normally until iOS 11.4.1 , now when I upgraded XCode 10 with iOS 12 , it worked normally in the simulator and in an iPhone SE in debug mode, the problem arose when I uploaded a build to Testflight

Is it harmful to have warning: Skipping code signing because the target does not have an Info.plist file?

筅森魡賤 提交于 2019-12-11 04:13:13
问题 I have this warning on my Xcode 10 after installing firebase core and crashlytic: Warning : Skipping code signing because the target does not have an Info.plist file. (in target 'FirebaseCore') here is the pod I use: # Uncomment the next line to define a global platform for your project platform :ios, '9.3' target 'xxx' do # Comment the next line if you're not using Swift and don't want to use dynamic frameworks use_frameworks! # Pods for xxx pod 'Firebase/Core' pod 'Fabric', '~> 1.9.0' pod