Search results for

“translate scheme”

6,658 results found

Post

Replies

Boosts

Views

Activity

Reply to How to downgrade El Capitan to Yosemite without a backup
Hi, I followed your steps but got sytuck at this point: Then choose Partition tab and select 1 Partition from Partition Layout dropdown menu. Click on Option and ensure GUID Partition Table is selected as the partition scheme, with its name set to YosemiteInstaller.I see no option to select 1 Parttition and I got no GUID Partition Table:. I'm using a 16GB USB, and I have an iMAC.My resulting box shows: Partition device TOSHIBA transmemory MediaTo resize a partition on the selected disk, drag its resize control and press ApplyDevice: TOSHIBA TransMemory MediaScheme: GUID partition MapPartition InformationPartition: YosemiteInstallerFormat: OS X Extended (Journaled)Size: 15..657 GB
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’15
Reply to CFBundleVersion maximum revision
I can't find a limit either, so...Can you give an example of the number you intend to use?1.110.01100.001001.001...?How many versions do you expect to go thru? 10 a day for a working year is what...2k revs ? 000.000 should cover that for 10 years easily I think.As long as the format is compatible and you adhere to it consistently, I'd think if you start with a scheme that allows for growth you'll be fine and not need to worry about some mandated limit.
Oct ’15
Publish the app in some specific country with their native language
Hello,I have developed an app and wanted to publish in some specific county and requirement is that descriptive content and images would be visible in their country native language.Suppose I have published the App for few countries (Spain, Germany). So, is it possible that Germany user can see the published App content (Description etc) in German Language and Spain user can see the published App content in Spanish language.Does Apple provide any auto translator for that or any manual procedure for that??If it is possible then published App URL will be generic or It will very to country to country??
0
0
366
Oct ’15
Reply to Xcode7 can't display errors properly
Same error here:Localizable string Err4 not found in strings table FoundationErrors of bundle CFBundle 0x101a0eaf0 </System/Library/Frameworks/Foundation.framework> (framework, loaded).This worked in XCode 6Any solutions?OK - got it - I had still enabled localization debugging in the Xcode scheme - disabled it and the issue is gone...
Oct ’15
SCNSphere - XYZ orientation appears wrong?
Hi,I've asked on StackOverflow and not had an answer which helps, so I thought it best to ask here. I have a sphere with a texture of the earth. Everything appears correct. If I draw a point on that sphere using latitude and longitude, I have to switch around XYZ in order for the object to appear in the correct location.I am using the following to translate lat and lon:-LAT = latitude * pi/180LON = longitude * pi/180x = -R * cos(LAT) * cos(LON)y = R * sin(LAT)z = R * cos(LAT) * sin(LON)My method for translating the points is as follows: --(SCNVector3) vectorFromCoordinate:(GLfloat)lat lon:(GLfloat)lon distance:(GLfloat)radius{ SCNVector3 result; lat = DEGREES_TO_RADIANS(lat); lon = DEGREES_TO_RADIANS(lon); result.z = cos(lat) * cos(lon) * radius; result.x = cos(lat) * sin(lon) * -radius; result.y = sin(lat) * radius; return result;}As you can see, the formula for X is used to calculate Z, the forumla to calculate Y is used to calcuate X and the formula to calculate Z is used to calculate Y.
4
0
755
Oct ’15
Reply to sortInPlace crashes in release mode (Xcode 7.1B3)
I believe there are some bugs in Swift Compiler's Optimizer around ARC.To narrow down the cause there are two things you could try.1. In the Release Build Configuration Optimization Level of the Swift Compiler from the default `Fast [-O]` to `None [-O]` or `Fast, Whole Module Optimization [-O, -whole-module-optimization]`. This build configuration can be found under `Swift Compiler - Code Generation > Optimization Level` or `SWIFT_OPTIMIZATION_LEVEL`2. In Enable Zombie Objects in the Release Scheme and run on the Simulator. This option can be found by editing the scheme selecting run and going to the Diagonostic tab.If it's a similar issue to what I've found the workaround is to force a local retain of all objects in the array.
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’15
How to translate TVJS IKDOMElement to Swift UIView?
Using info from https://forums.developer.apple.com/message/59669#59669, I've set up a function in Swift to be called from TVJS. I would like to apply some animations to a on-screen UIView instance from the Swift side in response to the user long selecting it via TVJS/TVML. I have verified my Swift function is being called by the TVJS longselect event handler. If I pass the longselect event's target property as a parameter to my Swift function, I see an instance of IKDOMElement on the Swift side.What is the easiest way (or is it possible) to access the UIView instance for a given IKDOMElement instance?Thanks in advance for any help,Tommy
0
0
326
Oct ’15
Reply to Mechanism to allow user to sign up for the free subscription
First, this really isn't an Objective-C question, it should be moved to the App Submission and Review forum under DistributionSecond, are you certain you are correctly quoting the reason for rejection? It may have changed its meaning in your translation to English. One reason for rejection is if the app requires that the user provide personal information like their email address - are you requiring that the user sign up for the free subscription?
Oct ’15
Testflight error: maximum allowed number of devices
I have a new build for tvOS (for internal test) loaded and testflight refuses to install it with the error Cannot Install <app name>. The app cannot be installed because you already registerd the maximum allowed number of devices. (the error message is translated back from Italian)I used testflight with this app with beta 2 and 3, and I have only this very device registered with the system.Is this something happened to other people? There is a workaround? (it's a bug I should file?)Thank you,gt
1
0
1.4k
Oct ’15
Cannot reset schemes on 'canOpenUrl'
The official API reference says as follows.https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplication_Class/#//apple_ref/occ/instm/UIApplication/canOpenURL: If your app is linked against an earlier version of iOS but is running in iOS 9.0 or later, you can call this method on 50 distinct URL schemes. After hitting this limit, subsequent calls to this method return NO. If a user reinstalls or upgrades the app, iOS resets the limit. I made an AdHoc .ipa and tried to reinstall to confirm whether the limit of URL schemes were reset or not through iTunes. However, unlike the sentence says, the limit was not reset.How should we do reset the URL limit ?
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
390
Oct ’15
how to configuring pf to NAT traffic ?
I use SimepleTunnel project , iPhone app PacketTunel extion work with tunnel_server , but tunnel_server writev packet to kerel , how config pf to NAT traffic and the packets can route to Internet?pf.confvpn_net = 192.168.3.0/24 ext_if = en0 nat on en0 from $vpn_net to any -> (en0)check pf staterMBP:etc root# pfctl -sa No ALTQ support in kernel ALTQ related functions disabled TRANSLATION RULES: nat on en0 inet from 192.168.3.0/24 to any -> (en0) round-robinI use tcpdump check write statustcpdump -i utun0 and found 192.168.3.0/16 to my dnsserver 192.168.0.24, but no dnserver replay to 192.168.3.0/1614:02:46.467038 IP 192.168.3.3.57257 > 192.168.0.245.domain: 38998+ A? guzzoni.apple.com. (35) 14:02:46.467877 IP 192.168.3.3.49218 > 192.168.0.245.domain: 59621+ A? www.apple.com. (31) 14:02:53.068894 IP 192.168.3.3.60834 > 192.168.0.245.domain: 52069+ A? apple.com. (27) 14:02:53.069427 IP 192.168.3.3.57257 > 192.168.0.245.domain: 38998+ A? guzzoni.apple.com. (35) 14:02:53.070072 IP 192.16
2
0
3.9k
Oct ’15
Reply to How to downgrade El Capitan to Yosemite without a backup
Hi, I followed your steps but got sytuck at this point: Then choose Partition tab and select 1 Partition from Partition Layout dropdown menu. Click on Option and ensure GUID Partition Table is selected as the partition scheme, with its name set to YosemiteInstaller.I see no option to select 1 Parttition and I got no GUID Partition Table:. I'm using a 16GB USB, and I have an iMAC.My resulting box shows: Partition device TOSHIBA transmemory MediaTo resize a partition on the selected disk, drag its resize control and press ApplyDevice: TOSHIBA TransMemory MediaScheme: GUID partition MapPartition InformationPartition: YosemiteInstallerFormat: OS X Extended (Journaled)Size: 15..657 GB
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to sendMessageData does not call didReceiveMessageData on the counterpart
As a matter of fact I even put a local notification in the appDelegate to see if the control passed through there, but it was not delivered. SO I suspect the problem is in the objective-c code, but I ignore what it might be. At present I would not be so willing to translate the full apps delegate to Swift, if not absolutely necessary.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to CFBundleVersion maximum revision
I can't find a limit either, so...Can you give an example of the number you intend to use?1.110.01100.001001.001...?How many versions do you expect to go thru? 10 a day for a working year is what...2k revs ? 000.000 should cover that for 10 years easily I think.As long as the format is compatible and you adhere to it consistently, I'd think if you start with a scheme that allows for growth you'll be fine and not need to worry about some mandated limit.
Replies
Boosts
Views
Activity
Oct ’15
Publish the app in some specific country with their native language
Hello,I have developed an app and wanted to publish in some specific county and requirement is that descriptive content and images would be visible in their country native language.Suppose I have published the App for few countries (Spain, Germany). So, is it possible that Germany user can see the published App content (Description etc) in German Language and Spain user can see the published App content in Spanish language.Does Apple provide any auto translator for that or any manual procedure for that??If it is possible then published App URL will be generic or It will very to country to country??
Replies
0
Boosts
0
Views
366
Activity
Oct ’15
Reply to Xcode7 can't display errors properly
Same error here:Localizable string Err4 not found in strings table FoundationErrors of bundle CFBundle 0x101a0eaf0 </System/Library/Frameworks/Foundation.framework> (framework, loaded).This worked in XCode 6Any solutions?OK - got it - I had still enabled localization debugging in the Xcode scheme - disabled it and the issue is gone...
Replies
Boosts
Views
Activity
Oct ’15
SCNSphere - XYZ orientation appears wrong?
Hi,I've asked on StackOverflow and not had an answer which helps, so I thought it best to ask here. I have a sphere with a texture of the earth. Everything appears correct. If I draw a point on that sphere using latitude and longitude, I have to switch around XYZ in order for the object to appear in the correct location.I am using the following to translate lat and lon:-LAT = latitude * pi/180LON = longitude * pi/180x = -R * cos(LAT) * cos(LON)y = R * sin(LAT)z = R * cos(LAT) * sin(LON)My method for translating the points is as follows: --(SCNVector3) vectorFromCoordinate:(GLfloat)lat lon:(GLfloat)lon distance:(GLfloat)radius{ SCNVector3 result; lat = DEGREES_TO_RADIANS(lat); lon = DEGREES_TO_RADIANS(lon); result.z = cos(lat) * cos(lon) * radius; result.x = cos(lat) * sin(lon) * -radius; result.y = sin(lat) * radius; return result;}As you can see, the formula for X is used to calculate Z, the forumla to calculate Y is used to calcuate X and the formula to calculate Z is used to calculate Y.
Replies
4
Boosts
0
Views
755
Activity
Oct ’15
Reply to Localization of 3D Touch shortcuts?
For static shortcuts you put the translation key in the Info.plist where you define your shortcuts. E. g. UIApplicationShortcutItemTitle: translationKeyYou add the translations then in the localized InfoPlist.strings files. translationKey = My localized title;
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to sortInPlace crashes in release mode (Xcode 7.1B3)
I believe there are some bugs in Swift Compiler's Optimizer around ARC.To narrow down the cause there are two things you could try.1. In the Release Build Configuration Optimization Level of the Swift Compiler from the default `Fast [-O]` to `None [-O]` or `Fast, Whole Module Optimization [-O, -whole-module-optimization]`. This build configuration can be found under `Swift Compiler - Code Generation > Optimization Level` or `SWIFT_OPTIMIZATION_LEVEL`2. In Enable Zombie Objects in the Release Scheme and run on the Simulator. This option can be found by editing the scheme selecting run and going to the Diagonostic tab.If it's a similar issue to what I've found the workaround is to force a local retain of all objects in the array.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’15
How to translate TVJS IKDOMElement to Swift UIView?
Using info from https://forums.developer.apple.com/message/59669#59669, I've set up a function in Swift to be called from TVJS. I would like to apply some animations to a on-screen UIView instance from the Swift side in response to the user long selecting it via TVJS/TVML. I have verified my Swift function is being called by the TVJS longselect event handler. If I pass the longselect event's target property as a parameter to my Swift function, I see an instance of IKDOMElement on the Swift side.What is the easiest way (or is it possible) to access the UIView instance for a given IKDOMElement instance?Thanks in advance for any help,Tommy
Replies
0
Boosts
0
Views
326
Activity
Oct ’15
Reply to Can't get deep linking from dynamic Top Shelf working
I also can't get the Top Shelf items to launch my app. I registered a custom URL scheme in my Info.plist, and I added URLs using this scheme to both playURL and displayURL. When I select or click Play on a Top Shelf item, it does not launch my app. Is there anything else I should look into?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’15
Clicking in Top Shelf list no longer calls openURL: in app delegate
I have a top shelf extension that lists items. Clicking on one opens the app and triggers opening the item details.Prior to the GM seed it worked fine, but in the GM I am no longer getting a call to the app delegate to handle the URL.I've checked the URL schemes and nothing has changed.Anyone else experienced the same thing?
Replies
7
Boosts
0
Views
784
Activity
Oct ’15
Reply to Mechanism to allow user to sign up for the free subscription
First, this really isn't an Objective-C question, it should be moved to the App Submission and Review forum under DistributionSecond, are you certain you are correctly quoting the reason for rejection? It may have changed its meaning in your translation to English. One reason for rejection is if the app requires that the user provide personal information like their email address - are you requiring that the user sign up for the free subscription?
Replies
Boosts
Views
Activity
Oct ’15
Testflight error: maximum allowed number of devices
I have a new build for tvOS (for internal test) loaded and testflight refuses to install it with the error Cannot Install <app name>. The app cannot be installed because you already registerd the maximum allowed number of devices. (the error message is translated back from Italian)I used testflight with this app with beta 2 and 3, and I have only this very device registered with the system.Is this something happened to other people? There is a workaround? (it's a bug I should file?)Thank you,gt
Replies
1
Boosts
0
Views
1.4k
Activity
Oct ’15
Cannot reset schemes on 'canOpenUrl'
The official API reference says as follows.https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplication_Class/#//apple_ref/occ/instm/UIApplication/canOpenURL: If your app is linked against an earlier version of iOS but is running in iOS 9.0 or later, you can call this method on 50 distinct URL schemes. After hitting this limit, subsequent calls to this method return NO. If a user reinstalls or upgrades the app, iOS resets the limit. I made an AdHoc .ipa and tried to reinstall to confirm whether the limit of URL schemes were reset or not through iTunes. However, unlike the sentence says, the limit was not reset.How should we do reset the URL limit ?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
1
Boosts
0
Views
390
Activity
Oct ’15
how to configuring pf to NAT traffic ?
I use SimepleTunnel project , iPhone app PacketTunel extion work with tunnel_server , but tunnel_server writev packet to kerel , how config pf to NAT traffic and the packets can route to Internet?pf.confvpn_net = 192.168.3.0/24 ext_if = en0 nat on en0 from $vpn_net to any -> (en0)check pf staterMBP:etc root# pfctl -sa No ALTQ support in kernel ALTQ related functions disabled TRANSLATION RULES: nat on en0 inet from 192.168.3.0/24 to any -> (en0) round-robinI use tcpdump check write statustcpdump -i utun0 and found 192.168.3.0/16 to my dnsserver 192.168.0.24, but no dnserver replay to 192.168.3.0/1614:02:46.467038 IP 192.168.3.3.57257 > 192.168.0.245.domain: 38998+ A? guzzoni.apple.com. (35) 14:02:46.467877 IP 192.168.3.3.49218 > 192.168.0.245.domain: 59621+ A? www.apple.com. (31) 14:02:53.068894 IP 192.168.3.3.60834 > 192.168.0.245.domain: 52069+ A? apple.com. (27) 14:02:53.069427 IP 192.168.3.3.57257 > 192.168.0.245.domain: 38998+ A? guzzoni.apple.com. (35) 14:02:53.070072 IP 192.16
Replies
2
Boosts
0
Views
3.9k
Activity
Oct ’15