xcode6

dyld error when trying to run an iOS 8 app on iPhone 5

☆樱花仙子☆ 提交于 2019-12-06 04:39:37
Trying to run an app locally on a connected iPhone 5 with Xcode 6.0.1 (6A317). The app otherwise works on all other devices, but on the iPhone 5 I'm getting this error immediately after the app launches: dyld: could not load inserted library '/Developer/usr/lib/libBacktraceRecording.dylib' because image not found I found this relevant Twitter post: https://twitter.com/steipete/status/473620531111919616 , and have tried most of the suggestions there including: rebooted the Mac & the iPhone 5 updated iOS to 8.0.2 from 8.0.0 created a new scheme to run the Release configuration as opposed to

Iphone Simulator Xcode 6 on IOS 8 visualize two black bars

这一生的挚爱 提交于 2019-12-06 04:28:09
问题 I have tried new app in Xcode 6 and not use storyboard. But when I have ran the app, with Iphone 5,5s,6 and 6 plus, in Iphone Simulator visualize two black bars on the top and below. Only Iphone 4s there aren't black bars. Do you have an idea to resolve my problem? Thanks 回答1: You need to add a Default-568h@2x.png image file that is 640x1136 to your project. I added an all black one that was in an older project. I didn't have to set anything else, which was nice. If you are building for iOS8

confused about different procedures for creating a fat static library in Xcode 6

Deadly 提交于 2019-12-06 04:26:05
I'm a little confused about information I am finding about how to create a universal framework using the latest Xcode 6 and iOS 8 environment. For instance, this answer includes the following: If you need to create universal static library that runs on both simulator and devices, then general steps are: 1. Build library for simulator 2. Build library for device 3. Combine them using lipo lipo -create -output "framework-test-01-universal" "Debug-iphonesimulator/framework-test-01.framework/framework-test-01" "Debug-iphoneos/framework-test-01.framework/framework-test-01" Note that framework-test

Using categories in iOS 8 frameworks

只愿长相守 提交于 2019-12-06 04:24:36
I am trying to share some code between an app and an extension, using a framework. Mostly this works, but I have several categories that do not seem to load correctly in the extension. For example, I have a category on NSString to reverse the target string, but when I try to use that selector within the extension my code traps with an "unrecognized selector" exception. I tried adding the "-all_load" linker flag, first to just the framework, and then to the extension, to try and force load all the classes implemented in the framework, but this does not seem to work. Any suggestions would be

Selecting a provisioning profile for Ad Hoc Distribution in Xcode 6

社会主义新天地 提交于 2019-12-06 04:13:14
问题 Having issues doing this. It will NOT let me select the provisioning profile to use, instead it defaults to some XC Ad Hoc: * and I cannot change it. The correct profile is selected in the build settings. I get: 回答1: I was experiencing the same issue in Xcode 6. I fixed it by: Go to Apple Developer > Create a new App ID specifically for the app with Explicit App ID like com.mywebsite.MyApp. Don't choose Wildcard App ID option. Go to Provisioning Profiles > Distribution > Update App ID (for

viewWithTag in UICollectionViewCell returns nil in Swift (until cell is reused)

寵の児 提交于 2019-12-06 03:28:40
This lengthy title is roughly my problem. I started simple learning example using UICollectionView in Swift project. I added CollectionView to ViewController created by template, assigned delegate and data source. Custom cell is created in storyboard. Reuse identifier is set. Everything is fine so far. I have placed one UILabel in custom cell, and gave tag value 100. Here's code of my ViewController: https://gist.github.com/tomekc/becfdf6601ba64d5fd5d And interesting exceprt below: func collectionView(collectionView: UICollectionView!, cellForItemAtIndexPath indexPath: NSIndexPath!) ->

xcodebuild fails to build from terminal but succeeded from xcode

不问归期 提交于 2019-12-06 03:26:24
问题 I'm trying to build a framework using xcode 6-beta 3 when compiling it using xcode it works but when compiling it from a terminal with the command: xcodebuild -project <projName> -scheme <schemeName> -configuration Debug clean build I'm getting the following error CodeSign error: entitlements are required for product type 'Framework' in SDK 'Simulator - iOS 8.0'. Your Xcode installation may be damaged. and the build fails to complete. at the end of the log it says The following build commands

Xcode sometimes crashes when I try to debug in iPhone Simulator after I upgrade Xcode6

谁说胖子不能爱 提交于 2019-12-06 03:10:57
问题 I am developing an iPhone app and using iPhone Simulator most of the time. When I try to debug one of my project in iPhone Simulator(does not matter what type and OS version) for debugging, Xcode sometimes suddenly crashes. After this error happens, changing code just one line and recompiling solves crash, but Xcode6 always crashes when I try to debug the project in iPhone Simulator if I don't recompile the project. Then, after continuing programming for a while, same crash happens. I might

Unable to run app in Simulator : Xcode 6.0.1 iOS 8

时光总嘲笑我的痴心妄想 提交于 2019-12-06 02:57:51
问题 I updated my Xcode to 6.0.1 from the App Store update notification in the morning in the os X 10.9.5, and then restarted my mac. Then i found the Xcode has been updated to the 6.0.1 ,But when i tried to run my app on it i am getting only iOS device as the device,not simulators. in my simulator menu manage devices there is no simulators only my mac is present ,then i tried to add simulators but it has given me error of path is not found,i tried every solutions found in the web search like

XCode 6.1 iOS 8 keyboard decimal pad is not properly

心不动则不痛 提交于 2019-12-06 02:01:08
问题 My iPhone app was normal in xCode 5 and iOS 7. When I updated to xCode 6.1, it was still normal. But after I update iOS 7 to iOS 8 (now xCode 6.1 and iOS 8), the keyboard type DecimalPad of uitextfield is not working property The decimal button is a half the size it should, and when touch on the "red rectangle", the number "7" is selected. It also warning "Can't find keyplane that supports type 8 for keyboard iPhone-Portrait-DecimalPad; using 1425143906_Portrait_iPhone-Simple-Pad_Default". I