Search results for

“translate scheme”

6,658 results found

Post

Replies

Boosts

Views

Activity

Reply to Can I localize into ksh-Latn_DE?
Please see a screenshot of my setup: https://raw.githubusercontent.com/below/Lost-In-Translation/master/Localization_Setting.pngAs you can see, the iPhone-Language (iPhone-Sprache) is set to Deutsch (German). The other Languages such as Klingon and Kölsch are not offered there.Kölsch is at the top of the Preferred Languages (Bevorzugte Sprachreihenfolge), and the comment specifically says Apps and Websites will just the first supported language from this list.So:1) Is it a bug that my App is not using the Kölsch Localization?2) Is the setup of my iPhone wrong?3) Is this just the setting for NSLocale (in which case, the comment is wrong)Thanks a lot. This excercise is helpful in understanding the l10n system on iOS 9 a little deeper 😉Alex
Oct ’15
Push Notifications not working on iOS8 when build with xcodebuild archive (Xcode6)
Hi, just want to share my experiences with push (remote notifications) and potentially get some feedback.I just noticed that my app can not get a token when build with Xcode 6 using commandline tools and the app is running on iOS 8 or below.I get the following Error:<Warning>: No valid 'aps-environment' entitlement string found for application 'myApp': (null). Notifications will not be delivered. myApp[571] <Warning>: Failed to register for remote notifications. Reason: Error Domain=NSCocoaErrorDomain Code=3000 ...I use the following command line calls to build:xcodebuild -workspace ... -scheme ... -sdk iphoneos -configuration Release CODE_SIGN_RESOURCE_RULES_PATH='$(SDKROOT)/ResourceRules.plist' CONFIGURATION_BUILD_DIR=... ARCHS='...' CODE_SIGN_IDENTITY='...' PROVISIONING_PROFILE='...' OTHER_CODE_SIGN_FLAGS='--keychain ...' -archivePath '...' archivexcodebuild -exportArchive -exportFormat ipa -archivePath '...' -exportPath '...' -exportWithOriginalSigningIdentity -verboseUsing Xcode 7.1
0
0
888
Nov ’15
Reply to 7.1 Won't Install
The Xcode site tries to send you to the Mac App Store if you're trying to get 7.1 The beta it does provide you with a link to download directly. Thankfully the scheme is predictable and here's the direct link for the 7.1 DMG:
Nov ’15
Reply to Create a PDF programmatically using Swift 2
What's wrong with the Objective-C material? If the Objective-C material does what you need, translating it to Swift is going to be easier than figuring out how to do things from scratch with Swift.The main technology to look at for creating PDFs programatically is Quartz. Apple's documentation includes the Quartz 2D Programming Guide, which has a section on creating PDFs. Take a look at the CGPDFContext series of functions. There's a Quartz2D forum here in the Graphics and Games section that you can use to ask questions on PDF creation.Another techonology that can help you with PDF creation is Core Text. Core Text has a function, CTFramesetterSuggestFrameSizeWithConstraints, that makes it easy to figure out how much of a string can fit on a page. You don't have to use Core Text to create PDFs, but using it can simplify creating large PDF files with lots of pages of text.Creating an NSURL object for the PDF file can also help. You can pass the NSURL object to the function CGPDFContextCreateWithURL to
Topic: Programming Languages SubTopic: Swift Tags:
Nov ’15
Reply to OSX 10.11.2 beta 2 Failed To Install
Good to know how it panned out for you. Glad to hear you got it sorted, albeit requiring a migrate.I've read in various forums about the patchy Skylake support, hopefully they'll have it ironed out soon and you can enjoy your cutting edge Mac tech without incident.It's not unusual for special characters such as % to get mis-interpreted when strings go from one encoding scheme to another - perhaps their outbound emails go through a filter or something.'Till the next time 🙂
Nov ’15
Where scheme is saved ??
Hi ! ^^I heard Scheme is not included in project file...so i heard we need to save out to other folder to share scheme with other developers in a same project...my queustions are1. Where scheme is saved ?? (Especially, I want to share pre-action script.. When I zipped project and give other person, script is gone.. no script remand in a project)2. How to save out scheme so that we can share a scheme file ?thanks ~~~
0
0
140
Nov ’15
Live Debugging on Watch Device???
This may turn into a rant but I am looking for guidance on how to efficiently debug Watch OS 2 apps on the watch device. I must be doing something wrong because what is happening now is random, frustrating and time-consuming. Basically, it's a crap shoot to get it working and there are so many random behaviors it is difficult to describe what happens or to file a radar.I have no problems at all debugging my watch app on the watch simulators where I simply Build & Run, and the watch simulator eventually launches with my logging showing up immediately in the debug output window. So, I expected the same process choosing the scheme where my paired watch has the app and extension installed.What happens (besides trying to fight with my iPhone to keep it and the watch awake) is I click Build & Run and there are a bunch of messages flashing across the top of Xcode, and then I wait, and wait, and look up to see that the Stop button is dimmed and the entire process quit. Then I click B&R again, and
5
0
2.4k
Nov ’15
Coherency, synchronization, scheduling with Metal Command Buffers?
The Metal documentation makes it pretty clear that command buffers are executed serially, in the order they are enqueued (...and that committing without a prior call to enqueue implies the enqueue call).What is less clear to me, is if and how the Metal API allows one to establish dependencies between one command buffer and the next, for cases where the output of one command buffer is needed by the next one in the pipeline. Suppose that you have a simple sequence of render passes, implemented through separate command buffers issued on the same command queue:Pass 1: Render something to a texture.Pass 2: Use the texture rendered in pass 1 to do something else.Which would – at a very high level – translate into two serial calls to each command buffer:[commandBuffer1 commit];[commandBuffer2 commit];So where is the problem? I have ran into situation where the commands issued by commandBuffer2 seemingly start executing before the commands in the previous buffer are completely executed. It is an issue of tim
14
0
4.5k
Nov ’15
Replace app container for Xcode UI Tests
What I'd like to do is seed our app some data for some of my UITests. One appoach that I'm entertaining is to seed the data by replacing the app container with my own container (*.xcappdata). I can do this presently, when debugging my iOS app, by setting it 'Application Data' under 'Options' in the scheme editor. Is there a way to replace the app container in a similar fasion when running UITests?
1
0
2k
Nov ’15
Reply to sendAsynchronousRequest deprecated?
Since outbound links are mostly banned...the 'net says this about that (humorously translated, from Russian, I think):Loading and sending of the data in a backgroundPossibility to stop and continue loadingWe could use units and delegates simultaneously so, for example, units we used for data acquisition and error handling, and a delegatny method — for passage of authentificationSession had a special configuration container in whom it are possible to lay down all necessary properties for (requests) all taskov in session, and also, for example, heder for all requests in sessionIt are possible to use private storage for Cooks, a cache and otherWe received more rigorous and reticulated code, unlike a dial-up of messy NSURLConnection
Nov ’15
Reply to Live Debugging on Watch Device???
And not to mention the issues I've also had with testing localizations on the watch. Even in the simulator, editing schemes for regions/languages for the watch app does not seem to have any effect, and there is no language/region option in the simulator's Watch app. When I tried testing my localizations on the actual watch device (by changing the locale settings in Watch on my iPhone), and the same random errors occurred and Xcode even crashed at one point.And I do not want to even think about submitting the watch app with the usual provisioning **** and gotchas I expect to spend hours solving.I don't remember this much difficulty wtih Watch OS 1 (but I may have repressed what happened 😉I'm using Xcode the release version of 7.1 since many months ago I gave up trying to use beta versions and now always wait for the release version since even then there are still many issues (as demonstrated here).And thanks for the feedback confirming that I am not alone in my frustration.
Topic: App & System Services SubTopic: General Tags:
Nov ’15
Reply to Can I localize into ksh-Latn_DE?
Please see a screenshot of my setup: https://raw.githubusercontent.com/below/Lost-In-Translation/master/Localization_Setting.pngAs you can see, the iPhone-Language (iPhone-Sprache) is set to Deutsch (German). The other Languages such as Klingon and Kölsch are not offered there.Kölsch is at the top of the Preferred Languages (Bevorzugte Sprachreihenfolge), and the comment specifically says Apps and Websites will just the first supported language from this list.So:1) Is it a bug that my App is not using the Kölsch Localization?2) Is the setup of my iPhone wrong?3) Is this just the setting for NSLocale (in which case, the comment is wrong)Thanks a lot. This excercise is helpful in understanding the l10n system on iOS 9 a little deeper 😉Alex
Replies
Boosts
Views
Activity
Oct ’15
Reply to How to link to Apple TV app?
Good idea, but something Apple is unlikely to adopt seeing as they take great pains to steer users towards the top of the store, where curated favs are like a guantlet. A scheme that avoids mainstreet is like poison to their master plan.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’15
Push Notifications not working on iOS8 when build with xcodebuild archive (Xcode6)
Hi, just want to share my experiences with push (remote notifications) and potentially get some feedback.I just noticed that my app can not get a token when build with Xcode 6 using commandline tools and the app is running on iOS 8 or below.I get the following Error:<Warning>: No valid 'aps-environment' entitlement string found for application 'myApp': (null). Notifications will not be delivered. myApp[571] <Warning>: Failed to register for remote notifications. Reason: Error Domain=NSCocoaErrorDomain Code=3000 ...I use the following command line calls to build:xcodebuild -workspace ... -scheme ... -sdk iphoneos -configuration Release CODE_SIGN_RESOURCE_RULES_PATH='$(SDKROOT)/ResourceRules.plist' CONFIGURATION_BUILD_DIR=... ARCHS='...' CODE_SIGN_IDENTITY='...' PROVISIONING_PROFILE='...' OTHER_CODE_SIGN_FLAGS='--keychain ...' -archivePath '...' archivexcodebuild -exportArchive -exportFormat ipa -archivePath '...' -exportPath '...' -exportWithOriginalSigningIdentity -verboseUsing Xcode 7.1
Replies
0
Boosts
0
Views
888
Activity
Nov ’15
Reply to 7.1 Won't Install
The Xcode site tries to send you to the Mac App Store if you're trying to get 7.1 The beta it does provide you with a link to download directly. Thankfully the scheme is predictable and here's the direct link for the 7.1 DMG:
Replies
Boosts
Views
Activity
Nov ’15
Reply to Create a PDF programmatically using Swift 2
What's wrong with the Objective-C material? If the Objective-C material does what you need, translating it to Swift is going to be easier than figuring out how to do things from scratch with Swift.The main technology to look at for creating PDFs programatically is Quartz. Apple's documentation includes the Quartz 2D Programming Guide, which has a section on creating PDFs. Take a look at the CGPDFContext series of functions. There's a Quartz2D forum here in the Graphics and Games section that you can use to ask questions on PDF creation.Another techonology that can help you with PDF creation is Core Text. Core Text has a function, CTFramesetterSuggestFrameSizeWithConstraints, that makes it easy to figure out how much of a string can fit on a page. You don't have to use Core Text to create PDFs, but using it can simplify creating large PDF files with lots of pages of text.Creating an NSURL object for the PDF file can also help. You can pass the NSURL object to the function CGPDFContextCreateWithURL to
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’15
Reply to Create a PDF programmatically using Swift 2
Becuase I'm so new with app development, Objective-C translation to Swift is very hard for me. I appreciate the information to research. Thank you!
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’15
Reply to Multiple Developers at One Company?
You seem confused and/or misinformed. Seen this page?https://developer.apple.com/support/compare-memberships/The process is confusing enough without having someone translate it and risk making it more so. Best to get the most current info straight from Apple, not anecdotes from strangers on a forum.
Replies
Boosts
Views
Activity
Nov ’15
Reply to FBSOpenApplicationErrorDomain error 1
I checked my projects, I have no such issue in my schemes.
Replies
Boosts
Views
Activity
Nov ’15
Reply to OSX 10.11.2 beta 2 Failed To Install
Good to know how it panned out for you. Glad to hear you got it sorted, albeit requiring a migrate.I've read in various forums about the patchy Skylake support, hopefully they'll have it ironed out soon and you can enjoy your cutting edge Mac tech without incident.It's not unusual for special characters such as % to get mis-interpreted when strings go from one encoding scheme to another - perhaps their outbound emails go through a filter or something.'Till the next time 🙂
Replies
Boosts
Views
Activity
Nov ’15
Where scheme is saved ??
Hi ! ^^I heard Scheme is not included in project file...so i heard we need to save out to other folder to share scheme with other developers in a same project...my queustions are1. Where scheme is saved ?? (Especially, I want to share pre-action script.. When I zipped project and give other person, script is gone.. no script remand in a project)2. How to save out scheme so that we can share a scheme file ?thanks ~~~
Replies
0
Boosts
0
Views
140
Activity
Nov ’15
Live Debugging on Watch Device???
This may turn into a rant but I am looking for guidance on how to efficiently debug Watch OS 2 apps on the watch device. I must be doing something wrong because what is happening now is random, frustrating and time-consuming. Basically, it's a crap shoot to get it working and there are so many random behaviors it is difficult to describe what happens or to file a radar.I have no problems at all debugging my watch app on the watch simulators where I simply Build & Run, and the watch simulator eventually launches with my logging showing up immediately in the debug output window. So, I expected the same process choosing the scheme where my paired watch has the app and extension installed.What happens (besides trying to fight with my iPhone to keep it and the watch awake) is I click Build & Run and there are a bunch of messages flashing across the top of Xcode, and then I wait, and wait, and look up to see that the Stop button is dimmed and the entire process quit. Then I click B&R again, and
Replies
5
Boosts
0
Views
2.4k
Activity
Nov ’15
Coherency, synchronization, scheduling with Metal Command Buffers?
The Metal documentation makes it pretty clear that command buffers are executed serially, in the order they are enqueued (...and that committing without a prior call to enqueue implies the enqueue call).What is less clear to me, is if and how the Metal API allows one to establish dependencies between one command buffer and the next, for cases where the output of one command buffer is needed by the next one in the pipeline. Suppose that you have a simple sequence of render passes, implemented through separate command buffers issued on the same command queue:Pass 1: Render something to a texture.Pass 2: Use the texture rendered in pass 1 to do something else.Which would – at a very high level – translate into two serial calls to each command buffer:[commandBuffer1 commit];[commandBuffer2 commit];So where is the problem? I have ran into situation where the commands issued by commandBuffer2 seemingly start executing before the commands in the previous buffer are completely executed. It is an issue of tim
Replies
14
Boosts
0
Views
4.5k
Activity
Nov ’15
Replace app container for Xcode UI Tests
What I'd like to do is seed our app some data for some of my UITests. One appoach that I'm entertaining is to seed the data by replacing the app container with my own container (*.xcappdata). I can do this presently, when debugging my iOS app, by setting it 'Application Data' under 'Options' in the scheme editor. Is there a way to replace the app container in a similar fasion when running UITests?
Replies
1
Boosts
0
Views
2k
Activity
Nov ’15
Reply to sendAsynchronousRequest deprecated?
Since outbound links are mostly banned...the 'net says this about that (humorously translated, from Russian, I think):Loading and sending of the data in a backgroundPossibility to stop and continue loadingWe could use units and delegates simultaneously so, for example, units we used for data acquisition and error handling, and a delegatny method — for passage of authentificationSession had a special configuration container in whom it are possible to lay down all necessary properties for (requests) all taskov in session, and also, for example, heder for all requests in sessionIt are possible to use private storage for Cooks, a cache and otherWe received more rigorous and reticulated code, unlike a dial-up of messy NSURLConnection
Replies
Boosts
Views
Activity
Nov ’15
Reply to Live Debugging on Watch Device???
And not to mention the issues I've also had with testing localizations on the watch. Even in the simulator, editing schemes for regions/languages for the watch app does not seem to have any effect, and there is no language/region option in the simulator's Watch app. When I tried testing my localizations on the actual watch device (by changing the locale settings in Watch on my iPhone), and the same random errors occurred and Xcode even crashed at one point.And I do not want to even think about submitting the watch app with the usual provisioning **** and gotchas I expect to spend hours solving.I don't remember this much difficulty wtih Watch OS 1 (but I may have repressed what happened 😉I'm using Xcode the release version of 7.1 since many months ago I gave up trying to use beta versions and now always wait for the release version since even then there are still many issues (as demonstrated here).And thanks for the feedback confirming that I am not alone in my frustration.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’15