xcode8

Invalid symlink in node_modules error when trying to deploy to simulator (RN 0.45)

杀马特。学长 韩版系。学妹 提交于 2019-12-23 03:39:57
问题 After making an upgrade from 0.39.2 t 0.45.1 and updating node packages and fixing about 50 issues in xcode my build succeeds but when trying to deploy on simulator I get. Installing build/Build/Products/Debug-iphonesimulator/AppName.app Installing build/Build/Products/Debug-iphonesimulator/AppName.app An error was encountered processing the command (domain=MIInstallerErrorDomain, code=70): invalid symlink at /Users/dob99/Library/Developer/CoreSimulator/Devices/9BEB7AD7-F8CD-4CF9-BEA5

Source control not working in Xcode 8

安稳与你 提交于 2019-12-23 03:23:12
问题 I have updated Xcode in order to program for iOS 10 and for some reason Source Control has stopped working. Im using Git connected to visual studio data repo, since at least Xcode 6 with no problem at all. I have checked the URL, User and Password and everything looks ok, I can use the Git with the console with no problem. But in Xcode 8 Im not able to do anything related with the Source Control, I can't commit, Add files to track or even see the states besides the files (M, A, ?), but if I

Xcode 8.0 beta missing required architecture x86_64 while building on simulator

元气小坏坏 提交于 2019-12-23 02:35:12
问题 When i tried to build the project on simulator xcode 8 throws error "missing required architecture x86_64" for most of the libraries like am using gdata, googleanalytics i did lipo -info for both libGDataTouchStaticLib.a : armv7 i386 arm64 libGoogleAnalytics.a : armv7 armv7s i386 Here gdata is throwing above error but googleanalytics works And when i tried to build on device with ios10 it build without errors 来源: https://stackoverflow.com/questions/38268219/xcode-8-0-beta-missing-required

iphone simulator(10.3) time not showing according to timezone in mac OS (10.13)

你。 提交于 2019-12-22 18:35:10
问题 I have update my mac os to 10.13 beta version now it showing GMT time for my old simulator with ios version 10.3. its not displaying as per mytimezone(IST). even after reset it and region change of simulator its continuous showing GMT time only. 回答1: Apple says there are currently no plans to fix this, as per http://www.openradar.me/34812060 回答2: This fixed for me : export TIMEZONE="Australia/Sydney" sudo rm -rf /etc/localtime sudo ln -s /usr/share/zoneinfo/$TIMEZONE /etc/localtime 来源: https:

Swift linker error in release build fixable by adding code

穿精又带淫゛_ 提交于 2019-12-22 17:39:15
问题 In Xcode 8, a Swift project of mine works in Debug mode but fails to link in Release mode: Undefined symbols for architecture x86_64: "Swift.UnsafeMutableBufferPointer.(subscript.materializeForSet : (Swift.Int) -> A).(closure #1)" I can fix the error by changing this line: let nextPeriod = currentSchedule.periods.filter({ $0.startDate > now }).sorted(by: { $0.startDate < $1.startDate }).first to: let nextPeriod = currentSchedule.periods.filter({ $0.startDate > now }).first but that obviously

iOS Swift 3 UIImagePickerController crash

[亡魂溺海] 提交于 2019-12-22 12:43:19
问题 I upgraded project to Swift 3 and I am getting a crash on the line (at various points/viewControllers in the project) : present(picker, animated: true, completion: nil) in the function: @IBAction func userImage(_ sender: AnyObject){ print("button pressed") let picker = UIImagePickerController() picker.delegate = self picker.allowsEditing = false picker.sourceType = .photoLibrary present(picker, animated: true, completion: nil) // -> crashes here } func imagePickerController(_ picker:

iOS Swift 3 UIImagePickerController crash

廉价感情. 提交于 2019-12-22 12:43:11
问题 I upgraded project to Swift 3 and I am getting a crash on the line (at various points/viewControllers in the project) : present(picker, animated: true, completion: nil) in the function: @IBAction func userImage(_ sender: AnyObject){ print("button pressed") let picker = UIImagePickerController() picker.delegate = self picker.allowsEditing = false picker.sourceType = .photoLibrary present(picker, animated: true, completion: nil) // -> crashes here } func imagePickerController(_ picker:

xcode 8 beta ios 10 push notifications stopped working

我们两清 提交于 2019-12-22 08:17:34
问题 After switching to xcode 8 beta my push notifications have stopped working. My code signing identity for release is set to distribution. I am registering the device, receiving the token and successfully uploading it to my server without any problem. But the status of the push messages is failed. Just wondering if i need to make any changes or if it will not work with a beta version of xcode. 回答1: In the targets, under Capabilities and Push Notifications I needed to add the push notification

Xcode stuck at “Processing Symbol Files”

独自空忆成欢 提交于 2019-12-22 07:58:41
问题 When I try to run my app on my device Xcode gets stuck on processing symbol files. I restarted the machine (I'm using VirtualBox), tried a different USB port, restarted the host computer, cleaned the build folder, tried a different project, updated Xcode to 8.2, tried to use Xcode 7.3 but nothing worked. My device does show in iTunes. I left iTunes open when I tried to run it on my iPad and then it said " Unable to copy symbol files - unable to read required data from device " Xcode 8.2

“Objective-C Bridging Header” entry in Build Settings does not appear in Xcode 8.3

天涯浪子 提交于 2019-12-22 06:55:55
问题 I need to add some Objective-C files of a library to my project, and I created the MyProject-Bridging-Header.h file myself. But now I'm not able to set its path because in the project's Build Settings I don't find the Objective-C Bridging Header entry. Is somebody else experiencing the same? How could I solve this? 回答1: In Build Setting choose "all" instead of "basic" 回答2: Usually when you had an Objective-C/Swift project and have added new Swift/Objective-C class file Xcode asks whether you