xcode6

Getting ITMS-4238 “Redundant Binary Upload” error no mater what I change the build version or app version to

拜拜、爱过 提交于 2019-12-17 22:32:51
问题 I rejected a binary i had which was 1.0 (1.0). The status went into Rejected by developer. I went to upload a new binary and ran into this issue, i then saw that i needed to increment my build. I increased both the app version and build to 1.1, this was a mistake. I got some error about the app version not matching, understood. Then i tried app version 1.0 and many different build numbers. 1.1, 1.0.1, 1.2, 1.3, 1.0.3..nothing works. I keep getting this error. There is only one build listed on

xcodebuild - codesign -vvvv says“resource envelope is obsolete”

自古美人都是妖i 提交于 2019-12-17 21:52:44
问题 I've just updated my xcode install to use xcode 6.0.1 in order to start compiling my app for ios8 devices. For some reason I am not able to ever sign the app file correctly that is generated using the following: xcodebuild -project GrantM/GrantM.xcodeproj -configuration Release it compiles the code and appears to be fine, but running: /usr/bin/codesign --verify -vvvv GrantM/GrantM.app give me: Program /usr/bin/codesign returned 1 : [GrantM/GrantM.app: resource envelope is obsolete] Codesign

Is it possible to set UIDatePicker to only days (exclude hours, minutes and seconds)?

[亡魂溺海] 提交于 2019-12-17 21:38:12
问题 I'm trying to have a UIDatePicker to present only the date, month and year to the user. I want to avoid presenting them with the hours, minutes and seconds like it comes by default. I've tried looking for something that might help but can only find solutions that aren't explained clearly in Objective-C, however I'm coding in Swift. Any ideas? Thanks in advance! 回答1: you need to chose the mode of the date picker @IBOutlet weak var myDatePicker: UIDatePicker! override func viewDidLoad() { super

OpenMP support in Xcode 6 (clang 3.5)

喜夏-厌秋 提交于 2019-12-17 20:25:23
问题 xcode 6 is based on clang 3.5; on osx 10.9.5 running clang++ --version from the command line reports Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn) so I supposed that Apple included openmp support given the fact that in the clang 3.5 release notes http://llvm.org/releases/3.5.0/tools/clang/docs/ReleaseNotes.html the clang developers claim partial openmp support. But it seems that the "-fopenmp" argument is still not recognized. Any hints? 回答1: Clang still does not fully

iPhone app compiled with Xcode 6 on runs as Universal on iPad

喜欢而已 提交于 2019-12-17 19:31:53
问题 I have got an app developed for iPhone family only, and I used to run it on iPad to test how it will look on iPhone 4s (since it launched with iPhone 4s resolution, size, and else '2x' round button for fullscreen support). However, now when I run it on my iPad with iOS 8, Xcode ignores all build settings and runs it as for iPad. My storyboard constraints were not projected for iPad screen. I have: Devices option set to iPhone on General tab in project settings Main storyboard file name and

swift spritekit Facebook share button

余生长醉 提交于 2019-12-17 19:31:24
问题 Hey there my app is almost ready for release but i want to add a Facebook share button. The thing is i have no idea how the communication between the scene and the viewcontroler works. i did my research but only found code in obj-c like this one - (void)lkFaceBookShare { NSString *serviceType = SLServiceTypeFacebook; if (![SLComposeViewController isAvailableForServiceType:serviceType]) { [self showUnavailableAlertForServiceType:serviceType]; } else { SLComposeViewController

external framework File/File.h (Parse/Parse.h) file not found

风格不统一 提交于 2019-12-17 18:25:08
问题 So every time I update my app, Xcode claims not to be able to find a particular external framework even though it's there. It's happened again with Xcode 6 and my usual methods (I'm fairly inexperienced, so these basically involve clicking and typing things until something happens (I exaggerate but not by much)) aren't working. I'm getting a Lexical or Preprocessor Issue error that says 'Parse/Parse.h' file not found.' But here are screenshots of it in the project and added to the library: I

Passing Data in Swift

僤鯓⒐⒋嵵緔 提交于 2019-12-17 17:34:44
问题 I have been looking for an answer for this, but have only found answers for segues. I have viewController1 with a button that segues to viewController2 . There is no code for this, I set it up through Interface builder. On viewController2 I have a button that dismisses itself with self.dismissViewControllerAnimated(true, completion, nil) I want to pass a string from viewController2 back to viewController1 when the view is dismissed. How do I go about doing this? Also, I am using swift. Thanks

Xcode - How to delete target in Xcode 6.1?

和自甴很熟 提交于 2019-12-17 15:59:18
问题 I cannot find the little box that used to exist in Xcode 5 that would allow me to play/delete targets. Anyone know how to do this in Xcode 6.1? 回答1: Just click on the .xcodeproj project file, there you still have the minus signs below the targets and can also right click > Delete 来源: https://stackoverflow.com/questions/26324163/xcode-how-to-delete-target-in-xcode-6-1

How Do I Create a Development Framework In iOS Including Swift?

旧街凉风 提交于 2019-12-17 15:59:08
问题 My goal in this was to create an iOS framework that incorporates both Swift and Objective-C that I could use in my development projects. The nature of this framework is that the framework itself is undergoing development. So, it was important that each time I build a project using this framework (I'll call projects using the framework "using" projects for lack of a better term), I wanted to make sure the framework itself was re-built. I wanted this to be a framework because I have a few using