苹果

How should an organization with multiple iOS applications under development manage iOS distribution certificates?

匿名 (未验证) 提交于 2019-12-03 08:46:08
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I've recently had some involvement with a group with an organizational account for iOS development. They have multiple teams all developing separate iOS applications. I was somewhat surprised to learn that there is no coordination at all of use of the organization's "iOS distribution" certificates. Instead whichever developer needs to submit a build just creates a new one, revoking one or more existing ones if necessary (Apple appears to allow a limited supply of three of these to be "live" simultaneously). Justification for this

Textfield shouldchangecharactersinrange swift

匿名 (未验证) 提交于 2019-12-03 08:46:08
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am making an iPad-app to learn english words. It needs to check the input in a textfield as soon as the characters are typed in the textfield. I am using the swift function shouldChangeCharactersInRange to accomplish this. My code: func textField(textField: UITextField, shouldChangeCharactersInRange range:NSRange, replacementString string: String) -> Bool { if TextField1.text == "apple" { checkImageView1.hidden = false } else { checkImageView1.hidden = true } return true } It needs to show an image if the word is typed right, in this case

LINQ order by “round robin”

匿名 (未验证) 提交于 2019-12-03 08:46:08
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Seems like this should be an easy task but I can't figure out how to do this with LINQ. The only information I've been able to find so far is regarding the round robin tournament format, which isn't what I'm after. I may be searching wrong. Given the following list: var items [] { "apple", "banana", "banana", "candy", "banana", "fruit", "apple" }; How can I sort this (preferably using linq) so that it comes out in "round robin" order, that is, select each unique item once before repeats. So the above list would come out like this (It's not

How to create a promotion code for iOS in-app purchases

匿名 (未验证) 提交于 2019-12-03 08:42:37
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: As of about May 2014 this year, searching Google for "ios in app purchase promotion code", yields lots of news sites reporting the same thing - Apple seem to be working on allowing promotion codes for testing in-app purchases as evidenced by a screenshot from EA games . My question is; does anybody know how to do this yet? I logged into the new iTunesConnect interface but can't find any link and nothing appears in the Apple docs from what I can find. Ideally I'm looking to create a code for a monthly subscription but they may only be allowed

Apple Instruments has mangled symbols and greyed out symbol names when profiling C++ application

匿名 (未验证) 提交于 2019-12-03 08:41:19
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to profile a large C++ application with Apple Instruments. I also wanted to do it WITHOUT building an Xcode project/workspace around my project (since I have an insane amount of dependencies / libraries / makefiles already set up). To do this I launched Instruments from Xcode/Contents/Applications/Instruments and selected a time profiler. For my target, I set it to my binary I wanted to profile. I then set the working directory to where my project files are (and the subsequent dSYM files are in a folder under that directory). I

iTunes Connect: Your app “*” (Apple ID: *) has one or more issues ― email goes to entire user list, all test flight users, no matter what app

匿名 (未验证) 提交于 2019-12-03 08:41:19
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: Today I submitted a new test app to the app store, via Xcode, to be viewed in ItunesConnect. The app submitted successfully, but the binary was rejected after about a minute by ITC. There was a problem with the AppIcons having an alpha channel in the PNGs. I get that a lot. The the problem I noticed is that I was notified by email from ITC, and that email is sent to the entire User List for our entity. This means all of your test flight users in ITC, for all our apps. In order to add a test flight user, they need to be setup in

How to use sed to replace only the first occurrence in a file?

匿名 (未验证) 提交于 2019-12-03 08:36:05
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I want to update a large number of C++ source files with an extra include directive before any existing #includes. For this sort of task I normally use a small bash script with sed to re-write the file. How do I get sed to replace just the first occurrence of a string in a file rather than replacing the every occurrence? If I use sed s/#include/#include "newfile.h"\n#include/ it replaces all #includes. Alternative suggestions to achieve the same thing are also welcome. 回答1: # sed script to change "foo" to "bar" only on the first occurrence 1

Request Timed out when trying to add iOS device to the portal

匿名 (未验证) 提交于 2019-12-03 08:36:05
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I added my iPad device to the Apple Developer website by entering it's description and UDID. Within the Xcode organizer, I attempt to add my device to the portal. I have hooked up a proper provisioning portal to it and all. Yet, the request times out every single time after I enter my proper Apple ID and password. How do I fix this? Also, if it helps: I get the same error when I go to Editor < Refresh from Developer Portal 回答1: Here is what you're after... Check the following status page - https://developer.apple.com/support/system-status/

Run AppleScript from Cocoa Application

匿名 (未验证) 提交于 2019-12-03 08:33:39
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is it possible to run an AppleScript code inside an Cocoa Application? I've tried NSAppleScript class, but no success. Also, does Apple allow this? 回答1: You mentioned xcode wasn't saving the script to your app's resources path. That is correct. You have to tell xcode to do this. First add the compiled script to your project. Then open your target and find the "Copy Bundle Resources" action. Drag your script from the files list into that action. This way your script is copied to your app's resources automatically so you don't have to do it by

Submission of ios app: invalid team id

匿名 (未验证) 提交于 2019-12-03 08:33:39
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a problem with the submission of an ios app on my customer itunes connect account. Let me describs current accounts: My Apple Id account is joined into my organization Apple Id as admin. My customer has joined me in their itunes connect account with technical role. Now I need to submit my developed app to the itunes connect account of my customer. In xcode, I have Archive and Export binaries using my apple id (and a team id). When I use Application Loader to submit the IPA, Apple reject my build with this error: "Invalid team id in