build-settings

Xcode 5.0: Apple where is Add Build rule gone?

倖福魔咒の 提交于 2019-12-23 09:18:15
问题 I cannot find Add Custom Build Rule option on Version 5.0 (5A1413). Does anyone noticed it? Has it been moved somewhere else? As a work around I am clicking "Copy to Target" on any build rule and customising it to make it custom build!!! [ANSWER] Build Rules -> Custom then select Editor->Add Build Rule 回答1: With the build file selected, open the Editor menu. This is also where the Add User-Defined Build Setting and other build setting modifications were moved to. 回答2: Are Build Phases what

Xcode 8 no code signature found

耗尽温柔 提交于 2019-12-23 07:09:18
问题 After I upgraded to Xcode 8, I am unable to debug on the device due to the following error: App installation failed. No code signature found. My setup, observations and what I've tried so far: The device has iOS 10 installed Code signing and debugging on the device in Xcode 7 works (no changes made to the code signing) The app has a watch app (build/run without watch app didn't change anything) Refreshing provisioning profiles, removing all of them and redownloading them didn't change

Xcode 6 running custom shell scripts

别等时光非礼了梦想. 提交于 2019-12-23 05:34:16
问题 When I build my target, in the information tab I can see the scheme building and the target building. At the end of the process it runs 2 custom shell scripts. I can't find where the target or project is running these 2 custom shell scrips. I've looked at target > build phases and it's not being set to run there. I also looked at project > build settings but I can't locate it there. I don't want to run these scripts but I don' know how to remove them! Any help would be great! Thanks 回答1: yup

“Objective-C Bridging Header” entry in Build Settings does not appear in Xcode 8.3

天涯浪子 提交于 2019-12-22 06:55:55
问题 I need to add some Objective-C files of a library to my project, and I created the MyProject-Bridging-Header.h file myself. But now I'm not able to set its path because in the project's Build Settings I don't find the Objective-C Bridging Header entry. Is somebody else experiencing the same? How could I solve this? 回答1: In Build Setting choose "all" instead of "basic" 回答2: Usually when you had an Objective-C/Swift project and have added new Swift/Objective-C class file Xcode asks whether you

iOS: Clarify different Search Paths

谁说胖子不能爱 提交于 2019-12-20 08:23:03
问题 There are three different search paths in XCode Build Settings: Framework Search Path Header Search Path Library Search Path Could anyone clarify what those paths do and what they are used for? 回答1: Framework search path : where to search frameworks ( .framework bundles) in addition to system frameworks paths. Not used very much in iOS development, officially there is no developer iOS frameworks. In Mac development, it's set automatically if you drag a 3rd party framework into the project.

How may I customize app suggestions in iOS [closed]

陌路散爱 提交于 2019-12-20 07:44:03
问题 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 2 years ago . I would like to customise App Suggestions in iOS programatically. It usually says Good Morning and my app name. Is it possible that I configure it to say something other than "good morning"? Can I control when and where it appears? I couldn't find much information in this regard.

Xcode is not building the Binary

笑着哭i 提交于 2019-12-13 20:12:54
问题 Xcode is doing something bizzare which I at one point in time fixed but now for the life of me I can't figure out what's wrong. Xcode is building my project fine - no errors on a clean-all build. All my product names and info.plists agree, all the settings appear to be correct. I've only got the one build configuration (I always delete all of them except when I got to actually release something - waay to many invisible problems with these things). Except that it is not generating binaries for

Retrieve E-mail in In-app in iPhone

▼魔方 西西 提交于 2019-12-13 04:46:13
问题 Currently my project is working perfectly on IOS development target 3.2 But as soon as i will do development target 4.0 or higher. It gives me error. Following is the error: Ld /Users/taxsmart2/Library/Developer/Xcode/DerivedData/MessageUI-cmsggqfkxarvsnaizxfrkvsmggwj/Build/Products/Debug-iphonesimulator/MessageUI.app/MessageUI normal i386 cd /Users/taxsmart2/Desktop/ipad setenv MACOSX_DEPLOYMENT_TARGET 10.6 setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:

Build Settings : What changes should I do in the build settings so that on releasing the app it will show the languages on App Store as only English?

。_饼干妹妹 提交于 2019-12-12 18:36:33
问题 I have committed some kinda mistake in uploading an iOS app, which makes my app show the languages as English and German on AppStore. The scenario is that I have set the "Localization native development region" key in (info.plist of target) to Germany, while my app is actually an English app(for all territories). But I am not confirmed that changing this key to US, can change the Appstore language of the app to only to English. Besides this, I have also set the language in Localizations in

Can't access build setting

对着背影说爱祢 提交于 2019-12-11 10:51:46
问题 Here's an entry in my config file... This gets picked up correctly in build settings... I've referenced the setting in both Info.plist files for the project... But upon execution of the test target, the value isn't there... Any ideas? 回答1: The code was looking in the wrong bundle. This answer gave me the solution... https://stackoverflow.com/a/30687916/221683 This was the code I used instead... let urlString = NSBundle(forClass: self.dynamicType).objectForInfoDictionaryKey("WebServiceUrl") as