xcode5

Checksum Validation Failed when submitting with Xcode 5

折月煮酒 提交于 2019-11-29 05:25:11
I was submitting an app to the iOS App Store a few days ago, and got this message from Xcode. Before I had time to resubmit it, Apple has already started reviewing my app. Is this something I need to worry about? Edit: The app was accepted a few days later. I had the same problem and Google led me here. From my understanding a checksum is used to ensure that the file Apple received is identical to the file you (thought you) uploaded to them. I decided to delete my upload and try again. This worked and I didn't get the error message again. Here's what I actually did: In iTunes Connect: Manage

Xcode 6 resizes app automatically for iPhone 6 and 6 plus

主宰稳场 提交于 2019-11-29 04:23:05
I was developing app in Xcode 5 for iOS 7 on iPhone 5 inch storyboard. I prepared my app and its buttons, images and other stuff to fit iPhone 5 screen size, and then programmatically optimized app to fit iPhone 4 and 4s. And then Xcode 6 came, and two new devices, iPhone 6 and iPhone 6 plus. I was thinking that i will have to spend few hours again to programmatically optimize app for those resolutions. But i tried run my app on my new iPhone 6 and strange thing happened. App itself made everything for me. Everything was in right position and right size and i haven't done anything. I saw that

Xcode 5 - -bundle_loader can only be used with -bundle XCTest

末鹿安然 提交于 2019-11-29 04:07:54
I am working on unit tests with XCTest and Xcode 5. Everything was working just fine, but then a colleague made a push, and it seems to have broken it. I have done the following: BUNDLE_LOADER = $(BUILT_PRODUCTS_DIR)/app name.app/app TEST_HOST = $(BUNDLE_LOADER) and I have played around with the build paths endlessly. Here is the error I am getting, which is tied to a Linker-O error. -bundle_loader can only be used with -bundle Anyone know how to fix this? The Mach-O Linker flag in the test target was set to "executable" instead of "bundle". 来源: https://stackoverflow.com/questions/19321771

How to find arm-apple-darwin#-llvm-gcc-4.2 compiler on Xcode 5?

*爱你&永不变心* 提交于 2019-11-29 02:54:16
问题 I am tying a cross compilation and for that I need to find where Xcode have placed the arm-gcc compiller. It used to be in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 but it has vanished in Xcode 5. Any Ideas? 回答1: Use the newer clang compiler instead like this: - for CC: xcrun -find -sdk iphoneos clang for CXX: xcrun -find -sdk iphoneos clang++ 回答2: It's usually best to use xcrun -find to dynamically locate Xcode

跟着我一步一步配置-xcode5真机调试-1.生成证书

邮差的信 提交于 2019-11-29 02:34:52
文章来自我的博客: https://www.lwxshow.com/appdev/ios/step-by-step-configuration-xcode5-device-debugging-configuration-generate-certificate.html 最近出了mac os x 10.9 mavericks预览版,xcode5也跟着发布了. 那么最新的版本也有些不同哦,以及deverloper.apple.com 后台界面也有修改哦. 那么进入我们的正式主题吧! 跟着我一步一步配置-xcode5真机调试 1.打开钥匙串访问 打开->应用程序->实用工具->钥匙串访问-> 来源: oschina 链接: https://my.oschina.net/u/347825/blog/141354

uiwebview not resizing after changing orientation to landscape

℡╲_俬逩灬. 提交于 2019-11-29 02:08:07
I'm coding an iPhone app in which I have a UIWebView that loads a website with a responsive design. The problem I have is when I rotate the devices to landscape: the UIWebView rotates but it keeps the same width as the portrait mode. I spent the last 5 hours searching all over the net, I found some solutions that I used but without success... in my html page i'm using <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> i tried using <meta name="viewport" content="width=device-width" /> nothing changed, in my code I'm implementing the

NSClassFromString() always returns nil

▼魔方 西西 提交于 2019-11-29 01:26:57
The following code prints nil , despite ListCell is a valid class. var lCellClass : AnyClass! = NSClassFromString("ListCell"); println(lCellClass); The docs are saying that method returns The class object named by aClassName , or nil if no class by that name is currently loaded. If aClassName is nil , returns nil . I also tried to get NSClassFromString() of current viewcontroller which is LOADED but still get nil What can be the problem ? Update: Even trying to do this NSClassFromString("Array") I still get nil The NSClassFromString function does work for (pure and Objective-C-derived) swift

Quartz Core Import not required in Xcode 5?

百般思念 提交于 2019-11-29 01:20:00
Just stumbled across this today. I am getting warnings in Xcode 4.6 if I try to access the CALayer without importing <QuartzCore/QuartzCore.h> . The same however works fine in Xcode 5. Yes, <QuartzCore/QuartzCore.h> is automatically included, but this seems to be more a side effect than intended, because it is included only indirectly: <UIKit/UIKit.h> includes <UIKit/UISlider.h> , in the iOS 7 SDK, <UIKit/UISlider.h> includes <QuartzCore/QuartzCore.h> , due to new instance variables in the UISlider class (of the CAShapeLayer type). In addition, Xcode 5 has a new build setting "Link Frameworks

Using Core Plot 2 in an Xcode 5 project

╄→гoц情女王★ 提交于 2019-11-28 23:44:43
I'm using the instructions here to integrate Core Plot into my iOS Xcode 5 project and am having no end of issues. I tried using the Static Library Install but it seems this refers to 1.4 as there is no directory called CorePlotHeaders though if I try to use 1.4 I run into runtime issues. I've then tried to drag the CorePlot-CocoaTouch.xcodeproj as described in the Dependent Project Install but this only copies it as if its a file and not the whole project. Is there more current instructions for using it as a static library or how am I copying the project incorrectly into my project? If you

Assertion failure in -[UITableView layoutSublayersOfLayer:]

三世轮回 提交于 2019-11-28 23:39:34
I want to use an UISearchDisplayController on UIViewController , that includes an UITableView . I use Autolayout. When i try to put the SearchBar (_searchBar) in the tableHeaderView with self.tableView.tableHeaderView = _searchBar; I get the error ' NSInternalInconsistencyException ', reason: 'Auto Layout still required after executing -layoutSubviews. UITableView's implementation of -layoutSubviews needs to call super.' Disabling Autolayout, the error disappears, but i need Autolayout... The error appears, when I use Custom Cells or StandardCells... The error appears, when the TableView has