xcode7

Xcode 7 Could not find a storyboard named

半世苍凉 提交于 2019-12-09 15:53:41
问题 After update Xcode to 7 version, can't build my application. This error is every time when I build in simulator's other versions, and device. After clean project I can run on device, but if I want run again, the error is back. *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'Main' in bundle NSBundle </private/var/mobile/Containers/Bundle/Application/43A262C3-81D4-4CF3-B727-AE670906234E/someexample.app> (loaded)' *** First

Why adding static libcurl.a to xcode 7.2 example project will add a libcurl.4.dylib dependency

本小妞迷上赌 提交于 2019-12-09 13:48:18
问题 I had been trying to eliminate any dependency on libcurl.4.dylib by adding libcurl.a to my Xcode 7.2 project. I had built a brand-new libcurl and placed it in /usr/local/lib (with the header in /usr/local/include/curl): export MACOSX_DEPLOYMENT_TARGET="10.8" ./configure --disable-shared --with-darwinssl make clean make make install But the .app was STILL linked with a dependency on libcurl.4.dylib. Finding out why took several days. Although I am adding libcurl.a to my Xcode "Link Binary with

Files in Xcode not working (names in red)

寵の児 提交于 2019-12-09 07:36:23
I renamed my app folder to try and change the name of the app because it didn't work in the project navigator and when I did so, all files came up in red. I have tried to fix it by renaming the files back to how they were but it still doesn't work. Any help would be greatly appreciated. Link to dropbox: https://www.dropbox.com/s/omvo0saff0z9ncc/TicketekApp%202.zip?dl=0 If files marked in red, they are "not found" by Xcode. You either moved or deleted them within File Finder, outside Xcode. Delete the red marked files within XCode, then add them again to XCode. This will solve your problem. I

CoreData: Failed to load optimized model at path

不羁的心 提交于 2019-12-09 05:32:54
问题 I am getting this warning multiple times when i goto a view using google maps.This started as soon as i migrated to swift 2.0 and xcode 7 for my exising project .Im using google maps in my project. See the console log below I have gone through some links but was not helpful https://code.google.com/p/gmaps-api-issues/issues/detail?id=8459 https://forums.developer.apple.com/thread/14157 回答1: In my case I needed doing 1) update cocoa pod, 2) setup again, and 3) update pods. 1) $ gem update

iOS , ld: framework not found GoogleMaps for architecture arm64

我的梦境 提交于 2019-12-09 02:49:11
问题 I'm developing an app using google maps. I will explain what I did with google maps, and maybe you can help me. I was using Google maps frameworks without POD, but after a few errors about Google map Key I deleted the google map frameworks reference and I installed it using POD. Everything is working fine, but when I hit Product -> TEST now I get this error: ld: framework not found GoogleMaps for architecture arm64 Any idea how fix this? Thank you! Podfile looks like this Cocoapods v1.0 beta

Build iOS app and distribute .ipa via TestFlight with Jenkins and Xcode 7

不羁岁月 提交于 2019-12-09 00:18:58
问题 Apple has released Xcode 7 update that broke everything again. Previously, we had to deal with ResourceRules.plist: cannot read resources issue by using a hack described, for example, here. Some people wonder why has this even happened in the first place. However, with Xcode 7 update they forbade the usage of Code Signing Resource Rules Path by giving this error when this option is set: ERROR ITMS-90339: "This bundle is invalid. The Info.plist contains an invalid key

Xcode 7: crash on breakpoint stop

北慕城南 提交于 2019-12-08 20:16:30
问题 I have an extremely annoying problem! Xcode 7 crashes almost on every breakpoint when it tries to symbolicate. I have done several things including deleting Xcode and reinstalling it... I also had the same issue on the previous Xcode 6.X Any clue? I am wondering if I should reinstall mac OS from scratch... 回答1: I solved the issue by changing the optimization level in the build settings, make sure it is set to None for Debug configuration and make sure your RUN scheme uses Debug configuration.

Custom TableViewCell contents invisible on ios9 xcode7

我只是一个虾纸丫 提交于 2019-12-08 19:41:57
问题 iOS9 upgrade seem to have broken all my custom tableviewcell. They only show tableviewcell with the right height, but all the elements inside are missing. The layout worked perfectly on iOS 8 and iOS 7 devices. Here's a screenshot of my Storyboard Yet when it comes on the device, only background color shows up. func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { let cell = tableView.dequeueReusableCellWithIdentifier("DummyCell",

Xcode 7.3 beta 1 vs. CommonCrypto in Swift

痞子三分冷 提交于 2019-12-08 17:14:36
问题 I'm using CommonCrypto in a Swift framework - and it's been working fine for over a year. I used solutions found here: Importing CommonCrypto in a Swift framework Specifically, to reference CommonCrypto from the Swift framework, I had to: Create a module.map file in a folder named CommonCrypto next to my framework's Xcode project. module.map contents: module CommonCrypto [system] { header "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs

Converting an Image to Data and Vice Versa [closed]

 ̄綄美尐妖づ 提交于 2019-12-08 16:41:58
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . I am using swift in Xcode and I need to convert an image to data in order to save it in SQLite db and also to convert the data object back to an image when I retrieve it from the database. Any help please? Simon 回答1: Swift 4 or later To convert from UIImage to Data you can use