xcode5

Need wantsFullScreenLayout behavior with NON-translucent bars on iOS 7

女生的网名这么多〃 提交于 2019-12-03 17:41:54
问题 I want to be able to have my view cover the whole screen (go behind the navigation and tool bars) with the translucent property of the navigationBar and toolbar set to NO (I want non-transparent bars). This was easy to accomplish prior to iOS 7 by setting wantsFullScreenLayout to YES. However, in iOS 7, I can't find any way of doing this. Any ideas? 回答1: wantsFullScreenLayout is deprecated at iOS 7. Try setting your view controller's edgesForExtendedLayout property to UIRectEdgeAll The iOS 7

Custom Xcode 5 Project Templates only half working

拈花ヽ惹草 提交于 2019-12-03 17:17:50
Ok so I got the custom file templates working when I add a new C++ file to the project, but when I create a new project, the comment section on the template is still at it's default. I feel like I have tried everything, and need some help. Im using the "Command Line Tool" template for my C++ projects. When I made my custom file template I just edited /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File Templates/C and C++/C++ Class.xctemplate/___FILEBASENAME___ .cpp When I get to the "Command Line Tool" project folder I'm not sure exactly what I am supposed to do to get it

iOS Release IPA using someone else's .p12 & .mobileprovision

╄→гoц情女王★ 提交于 2019-12-03 17:13:05
I'm trying to build & release an IPA and sign it with someone else's (The customer) .p12 file and a .mobileprovision. What I do not have is their apple developer account user and password combination (I only have my own user and password which are not related). How can I build and release it using their certificate which I mentioned before (enterprise distribution)? I'm using Xcode Version 5.1.1 (5B1008) I have imported the p12 file, and it appears to be fine and visible in keychain. In Xcode, I have set the correct bundle id, and under "Code Signing"->"Release" I have chosen their imported

Missing AppIcon in Organiser

不羁的心 提交于 2019-12-03 17:12:38
问题 I've recently migrated my application to support iOS7 and during that process updated my app icons to use an Asset Catalog; which is all working great in the app. However, in Organizer—and TestFlight—my app icon is missing. The same is also happening in TestFlight—which implies there is something missing from my bundle. Any help would be gratefully received. 回答1: So it seems you still need to have the Icon files entry in the app plist that points to an icon that is a resource in the app; even

How to suppress warnings in Xcode?

妖精的绣舞 提交于 2019-12-03 16:39:36
In Xcode 5, is there any way to suppress warnings such as unused variables for number of files? Particularly latest Box2D 2.2.1 produces some warnings which are annoying but harmless. Select the project in the navigator, then select the target from the list. Select the Build Phases tab, then expand the Compile Sources phase. The Compiler Flags column is where you specify per-file compiler flags. Enter -Wno- to negate a warning. e.g.: -Wno-unused-parameter You can add a compiler flag -w for each affected .m file you want silenced, in the build phases for your app's target, under "Compile

Cound not check out svn with xcode 5 and Xcode Crashes if enable svn

…衆ロ難τιáo~ 提交于 2019-12-03 16:09:14
I am not able to setup SVN in X-Code 5. Iv tried these steps: 1) Goto-Xcode-Preferences-Accounts-Add Repositories (clicking "+" sign). 2) Enter the url path of the project https://ipaddress:8578/svn/comapny_name/projectname/iphone/ 3)Enter the credentials. At this point of time i get this error message Xcode has modified the URL. Xcode repository accounts represent the root of the repository. Subpaths can be checked out from the checkout window. the Repository was added successfully with the base path https://ipaddress:8578/svn/comapny_name/ When i checkout the project it shows authentication

UITableView is getting a gap on top [closed]

泄露秘密 提交于 2019-12-03 15:57:31
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Iam not sure if it is the appropriate question to ask right now. I am working with Xcode 5 (preview version ) on the table view. The issue right now is if my table view is selected as group than I am having a gap between the first cell and the top edge of table. The code for uitable view delegate is below -

How to remove icon glare in XCode 5 / iOS 7?

▼魔方 西西 提交于 2019-12-03 15:37:35
I am using XCode 5 developer preview to create an iOS 7 app. In iOS 7, the glare effect of an icon does not exist anymore. That's fine. But now, when I run an app compiled by XCode 5 on an iOS 6 device (or simulator) I see the glare effect on the icon! The usual ways of disabling glare (editing the App-Info.plist file) don't work anymore. So my question is: how can I disable the glare effect on iOS 6 in an app compiled by XCode 5? Side note: I'm using the asset library to configure all the different icon sizes. As the NDA has been lift, I can tell you the answer: go to Images.xcassets in your

Enterprise Distribution not playing nice with iOS8 in Swift App

一个人想着一个人 提交于 2019-12-03 15:13:22
I'm having issues running Enterprise builds onto iOS 8 devices with my swift app. It seems to be working fine if i use a non-enterprise account to code-sign. Is anyone experiencing this issue? Here is a crash log that I am getting on an iOS device when attempting to run a build with an enterprise account to codesign: OS Version: iOS 8.0 (12A4345d) Report Version: 105 Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000001, 0x00000001200d5088 Triggered by Thread: 0 OS Version: iOS 8.0 (12A4345d) Report Version: 105 Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes:

Build target randomly added to Xcode scheme

孤人 提交于 2019-12-03 15:03:12
I am developing an iPhone app using Xcode 5 and CocoaPods. I have a scheme and target called Oahu that I run my tests against. Accordingly, I am not surprised to see my two test targets present to be built in the scheme's build phase. However, there is a fourth build target that cannot be removed: When I run tests, all four targets are built, and the test targets are run against the last, incorrect one, Ku . And after closing Xcode, deleting the contents of the DerivedData directory, and deleting all the *userdata files in my project directory ( find ./ | grep userdata | xargs rm -rf ), I