xcode7

Xcode 7 Playground execution EXC_BAD_ACCESS

雨燕双飞 提交于 2019-12-10 15:23:09
问题 Running the simplest, default code in Xcode 7 playgrounds... get the following error Playground execution failed: Execution was interrupted, reason: EXC_BAD_ACCESS (code=1, address=0x8). * thread #1: tid = 0x351bc3, 0x00000001062019ca libicucore.A.dylib`utext_clone + 22, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x8) * frame #0: 0x00000001062019ca libicucore.A.dylib`utext_clone + 22 frame #1: 0x000000010633ac42 libicucore.A.dylib`icu::RegexMatcher::reset

CFBundleShortVersionString must be a period-separated list of most three non-negative integers

流过昼夜 提交于 2019-12-10 14:58:19
问题 When submitting my app to the app store I get this error: Here is the relevant part from my info.plist file: <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>$(PRODUCT_NAME)</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> <string>1.0.0</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> <string>1.0.0</string> When I submit the app you can clearly see that there

tableview Cell separator line not showing in ios development using swift 2.0. xcode 7

女生的网名这么多〃 提交于 2019-12-10 14:48:42
问题 I am trying to make an ios app which has tableview in it. When I was developing using xcode 7.0.1 it was showing tableview cells separator line Black thin line. After I updated with Xcode 7.1.1 , its not showing cell separator lines. I tried 3 things like - Tried All the settings in the right panel of xcode to show cell separator line. Tried setting up the Cell Line Separator using code in DidLoad method creating new SingleViewApp as well, in that also its not coming. Nothing solves the issue

iOS button title color won't change

久未见 提交于 2019-12-10 14:47:13
问题 I'm creating a UIButton dynamically with the following code which creates it as per specified style. let frame = CGRect(x: 10, y: 6, width: 60, height: 30 ) let button = UIButton(frame: frame) button.setTitleColor(UIColor.blackColor(), forState: UIControlState.Normal) button.backgroundColor = UIColor.whiteColor() button.addTarget(self, action: "filterByCategory:", forControlEvents: UIControlEvents.TouchUpInside) self.categoryScrollView.addSubview(button) With this button, I want to toggle the

How to Change the App Name on a Crashlytics Beta Email Invite

删除回忆录丶 提交于 2019-12-10 13:44:49
问题 In Crashlytics Beta does anyone know how to change the app name (under the app icon) on the email invite. My iOS distribution is coming from a Xcode 7 archive via the Twitter Fabric menubar on MacOS. The Xcode project is called something like someprototype and I'd like to make it more presentable for testers. I've changed the bundle name and archive name but neither of these have any effect. 回答1: Mike from Crashlytics and Fabric here. Check out how to change your app's name here. Once you

Proper way to debug watchos2 app in XCode7

醉酒当歌 提交于 2019-12-10 13:39:52
问题 I'm rewriting my watch app to work in watchos2 but have problems debugging on the actual watch (XCode7). What is the correct way how to do this? 1) Obvious (but naive) approach - connect your phone with paired watch, in XCode select Extension scheme to run on Phone + Watch. Click play and it should work, right? This seems to work only just after fresh pairing and breaks very quickly (after few debug runs). See issues and behaviour below 2) Run phone app first then add run of extension - this

Spotlight extension in ios 9

女生的网名这么多〃 提交于 2019-12-10 13:09:53
问题 I've downloaded Xcode 7 beta and found a new type of extension there. On WWDC 2015 nothing was said about it. It's called Spotligt extension . When Spotlight Extension in iOS 9 is called and for what it's used? 回答1: From iOS 9.0: App Search in iOS 9 gives users great new ways to access information inside of your app, even when it isn’t installed. When you adopt iOS 9 Search, users can access activities and content deep within your app through Handoff, Siri Reminders, and Search results. and

Swift 2 Extra argument ' error' in call

倾然丶 夕夏残阳落幕 提交于 2019-12-10 12:58:39
问题 Hi i'm updating my project from Swift to Swift2 with Xcode 7 and i'm getting this CoreData error : Extra argument 'error' in call in this line if coordinator!.addPersistentStoreWithType(NSSQLiteStoreType, configuration: nil, URL: url, options: nil, error: &error) == nil { EDIT this is my code: lazy var persistentStoreCoordinator: NSPersistentStoreCoordinator? = { // The persistent store coordinator for the application. This implementation creates and return a coordinator, having added the

XCode 7: xcdatamodeld doesn’t exist

我与影子孤独终老i 提交于 2019-12-10 12:57:17
问题 After updating to XCode 7 in order to support iOS9 I had the following build error error: Cannot read bundle contents (Error Domain=NSCocoaErrorDomain Code=260 "The folder “VoIP.xcdatamodeld” doesn’t exist. Build target myTitle of project myTitle with configuration Debug DataModelCompile Build/Products/Debug-iphoneos/myTitle.app/ /Users/myself/MyDev/m1/app/VoIP/VoIP/VoIP.xcdatamodeld cd /Users/myself/MyDev/m1/app/app/iPhone export PATH="/Applications/Xcode.app/Contents/Developer/Platforms

Is Xcode debugging/crash report in Swift broken?

左心房为你撑大大i 提交于 2019-12-10 12:44:35
问题 I've been working with Swift for over a year now and things seems to be only getting worse with each new Xcode release. Is it only here that crashes in a app aren't reported correctly? Most of the time it's only SIGBRT or EXC_BAD_INSTRUCTION on main() (yes I use a main.m in my project): That's not helpful. If I don't add an 'All Exceptions' breakpoint, I can't find where the crash happened. I just got used with not having any help at all from LLVM about any errors on my Swift code, and even