Search results for

“translate scheme”

6,670 results found

Post

Replies

Boosts

Views

Activity

Reply to Problems running watchOS apps on device installed from Xcode 7 beta 3
If I run the WatchKit App on my physical watch, I see the extension in the debug list below the active debugging for the phone app (I started that previously). The daisy is spinning, and I see only the bundle identifier and the Waiting to Attach message.I am, however, able to debug both apps in the simulator at this time. Unfortunately, part of my goal is to use the tel: and sms: schemes to fire openUrl on the watch and/or the phone. The one time I *did* get it working in the physical watch, the tel: didn't work (known bug) and the sms: *did* work (I sent a real iMessage!). So now it's just a matter of getting the physical device to match the simulator.
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’15
The dictation button for UITextView generates extra keyboard notifications
I need to scroll my view up to make room for the keyboard since as far as I know there's no way to do this automatically. I'm relying on keyboard notifications to know when to scroll my view up and down.My scheme works perfectly fine with UITextField, but I discovered a bug on a view containing a UITextView. If you hit the dictation button, ANOTHER UIKeyboard notification IS generated for the keyboard that's already showing. I can hack a fix, but I'd really like to be able to detect when dictation-generated notifications are being sent so they can be ignored.
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
529
Jul ’15
Reply to Network Extension debugging
I finally figured some things out. I don't know if that's your problem but I have xode 7 beta3 and beta4 installed side by side. So after this post I removed both and installed the latest again but first try this.ServerAddress should be <address>:<port>. Now I can connect.Now for the debugger or log to work you can't do it directly from the main app. So what you need to do is this:1) start normal debug session on main app (no need to change scheme)2) one online post said to stop the app in your device (so I closed my app, not sure if this is optional)3) In xcode do : Debug | Attach to process by PID or Name. Use PacketTunnel (I just went look at the output file and figure that's something to try)4) start your app in the device again if you did step #2After that I got a breakpoint in startTunnelWithOptions (the OMG moment).
Jul ’15
WatchOS 2 beta 4 update not available; no internet connection?
I just upgraded my iPhone 6 to iOS 9 beta 4 (first install of iOS 9).So I was going to update my Watch to WatchOS 2 beta 4. I installed the profile on both my phone and watch, but when I got o software update I get a warning that it failed to find an update because there is no internet connectino (translated, so not exactly the message).The internet is working fine, even in the 'search' function of the Watch App. Is this a common, temporary problem, or is there a step I need to do and I missed?Thanks!
4
0
695
Jul ’15
Localization with XLIFF
Hi,I can't get localizations to show up on the watch properly. I have recorded a screencast with the trouble I'm running into. I've also prepared a simplified project with Starter, Final, and Translations in this ZIP file.Steps:Add a language to the projectExport for localization…Edit the XLIFF with translationsImport localization…Create run scheme with simulated language and regionRunAny ideas? Or, know a knowledgeable person I can ask?
0
0
393
Jul ’15
the code that works in Xcode 6 doesn't work with Xcode 7
this is my first question here and apologize for bad English.I was recently making a game application using Xcode 6.4 which worked perfectly in IOS devices. However, when I upload Xcode 7 Beta 4 to develop my app for IOS 9 there was a problem.I was using this code in Xcode 6, which was restricting my hero to flip between -1.0 and 1.0 in X-axes, my hero could not flipping to -2.0:func flip() { isUpsideDown = !isUpsideDown var scale: CGFloat! if isUpsideDown { scale = -1.0 } else { scale = 1.0 } let translate = SKAction.moveByX(0, y: scale*(size.height + kMLGroundHeight), duration: 0.1) let flip = SKAction.scaleYTo(scale, duration: 0.1) runAction(translate) runAction(flip) }But now in Xcode 7 this cod seems to not work. Firstly it seems alright but then hero starts to flip to -2.0, -3.0 and this goes on until the hero goes out of frame.Also this is my game scene cod which worked perfectly on Xcode 6: override func touchesBegan(touches: Set<UITouch>, withEvent event: UIEvent?) { if isGame
1
0
260
Jul ’15
Xcode 7 beta 4... import localizations crash
Is this a bug in xcode 7 beta 4 or a problem with our translations? Getting a crashProcess: Xcode [13955]Path: /Applications/Xcode-beta.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 7.0 (8178.7)Build Info: IDEFrameworks-8178007000000000~3Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [13955]User ID: 504Date/Time: 2015-07-27 10:20:46.201 -0400OS Version: Mac OS X 10.10.4 (14E46)Report Version: 11Anonymous UUID: 56576435-6521-AF4C-A27C-F5E11A057A25Sleep/Wake UUID: 1FF7208F-EE25-4CAC-A8B7-F89A1D3C38DCTime Awake Since Boot: 31000 secondsTime Since Wake: 6100 secondsCrashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Application Specific Information:IDEEditorDocumentWillCloseNotificationProductBuildVersion: 7A165tASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-8178.7/IDEKit/Editor/IDEEditorContext.m:1365Details: (self.workspaceTabControll
1
0
291
Jul ’15
Xcode 7 beta 4... import localizations crash
Is this a bug in xcode 7 beta 4 or a problem with our translations? Getting a crashProcess: Xcode [13955]Path: /Applications/Xcode-beta.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 7.0 (8178.7)Build Info: IDEFrameworks-8178007000000000~3Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [13955]User ID: 504Date/Time: 2015-07-27 10:20:46.201 -0400OS Version: Mac OS X 10.10.4 (14E46)Report Version: 11Anonymous UUID: 56576435-6521-AF4C-A27C-F5E11A057A25Sleep/Wake UUID: 1FF7208F-EE25-4CAC-A8B7-F89A1D3C38DCTime Awake Since Boot: 31000 secondsTime Since Wake: 6100 secondsCrashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Application Specific Information:IDEEditorDocumentWillCloseNotificationProductBuildVersion: 7A165tASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-8178.7/IDEKit/Editor/IDEEditorContext.m:1365Details: (self.workspaceTabControll
0
0
277
Jul ’15
Xcode 7 beta 4... import localizations crash
Is this a bug in xcode 7 beta 4 or a problem with our translations? Getting a crashProcess: Xcode [13955]Path: /Applications/Xcode-beta.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 7.0 (8178.7)Build Info: IDEFrameworks-8178007000000000~3Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [13955]User ID: 504Date/Time: 2015-07-27 10:20:46.201 -0400OS Version: Mac OS X 10.10.4 (14E46)Report Version: 11Anonymous UUID: 56576435-6521-AF4C-A27C-F5E11A057A25Sleep/Wake UUID: 1FF7208F-EE25-4CAC-A8B7-F89A1D3C38DCTime Awake Since Boot: 31000 secondsTime Since Wake: 6100 secondsCrashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Application Specific Information:IDEEditorDocumentWillCloseNotificationProductBuildVersion: 7A165tASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-8178.7/IDEKit/Editor/IDEEditorContext.m:1365Details: (self.workspaceTabControll
1
0
294
Jul ’15
Reply to Network Extension debugging
I just did another test. There is a simpler way of debugging this.1) In xcode do : Debug | Attach to process by PID or Name. Type: PacketTunnel2) start your app in the device again (your breakpoint for your custom tunnel should trigger now).You can't debug these new target projects from the main project it seems. There is another way mentioned in apple's doc for app extension but it doesn't work for me (i.e.: select scheme you want to debug, PacketTunnel, launch debugging session, it will ask for target app to launch, select SimpleTunnel; but this method doesn't trigger any breakpoints).
Jul ’15
Reply to the code that works in Xcode 6 doesn't work with Xcode 7
Your question is about the SpriteKit framework. Your chances of getting help will be much higher if you move the question to the SpriteKit forum, which is in the Graphics and Games section of the forums.Additional information that would help someone solve your problem are the values of size.height and kMLGroundHeight. Your translate action moves the hero by the following value:scale * (size.height + kMLGroundHeight)The value of scale is either 1 or -1, but if the sum of size.height and kMLGroundHeight is greater than 1, the hero is going to move more than 1 or -1 unit.
Jul ’15
Reply to could someone tell me what happens if I delete the profile of ios beta 9 and as recovery ?
I'm not understanding what you are writing. Are you having trouble installing the profile again from the Public Beta website?Try writing in your own language and I will use Google Translate.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’15
Reply to Problems running watchOS apps on device installed from Xcode 7 beta 3
If I run the WatchKit App on my physical watch, I see the extension in the debug list below the active debugging for the phone app (I started that previously). The daisy is spinning, and I see only the bundle identifier and the Waiting to Attach message.I am, however, able to debug both apps in the simulator at this time. Unfortunately, part of my goal is to use the tel: and sms: schemes to fire openUrl on the watch and/or the phone. The one time I *did* get it working in the physical watch, the tel: didn't work (known bug) and the sms: *did* work (I sent a real iMessage!). So now it's just a matter of getting the physical device to match the simulator.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’15
The dictation button for UITextView generates extra keyboard notifications
I need to scroll my view up to make room for the keyboard since as far as I know there's no way to do this automatically. I'm relying on keyboard notifications to know when to scroll my view up and down.My scheme works perfectly fine with UITextField, but I discovered a bug on a view containing a UITextView. If you hit the dictation button, ANOTHER UIKeyboard notification IS generated for the keyboard that's already showing. I can hack a fix, but I'd really like to be able to detect when dictation-generated notifications are being sent so they can be ignored.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
1
Boosts
0
Views
529
Activity
Jul ’15
Reply to Network Extension debugging
I finally figured some things out. I don't know if that's your problem but I have xode 7 beta3 and beta4 installed side by side. So after this post I removed both and installed the latest again but first try this.ServerAddress should be <address>:<port>. Now I can connect.Now for the debugger or log to work you can't do it directly from the main app. So what you need to do is this:1) start normal debug session on main app (no need to change scheme)2) one online post said to stop the app in your device (so I closed my app, not sure if this is optional)3) In xcode do : Debug | Attach to process by PID or Name. Use PacketTunnel (I just went look at the output file and figure that's something to try)4) start your app in the device again if you did step #2After that I got a breakpoint in startTunnelWithOptions (the OMG moment).
Replies
Boosts
Views
Activity
Jul ’15
Reply to Scheme Destination Toolbar Missing
Same issure,but still missing scheme destination toolbar by resize XCode6.4 in OS X EI Capitan 10.11(15A225f).😐
Replies
Boosts
Views
Activity
Jul ’15
WatchOS 2 beta 4 update not available; no internet connection?
I just upgraded my iPhone 6 to iOS 9 beta 4 (first install of iOS 9).So I was going to update my Watch to WatchOS 2 beta 4. I installed the profile on both my phone and watch, but when I got o software update I get a warning that it failed to find an update because there is no internet connectino (translated, so not exactly the message).The internet is working fine, even in the 'search' function of the Watch App. Is this a common, temporary problem, or is there a step I need to do and I missed?Thanks!
Replies
4
Boosts
0
Views
695
Activity
Jul ’15
Localization with XLIFF
Hi,I can't get localizations to show up on the watch properly. I have recorded a screencast with the trouble I'm running into. I've also prepared a simplified project with Starter, Final, and Translations in this ZIP file.Steps:Add a language to the projectExport for localization…Edit the XLIFF with translationsImport localization…Create run scheme with simulated language and regionRunAny ideas? Or, know a knowledgeable person I can ask?
Replies
0
Boosts
0
Views
393
Activity
Jul ’15
the code that works in Xcode 6 doesn't work with Xcode 7
this is my first question here and apologize for bad English.I was recently making a game application using Xcode 6.4 which worked perfectly in IOS devices. However, when I upload Xcode 7 Beta 4 to develop my app for IOS 9 there was a problem.I was using this code in Xcode 6, which was restricting my hero to flip between -1.0 and 1.0 in X-axes, my hero could not flipping to -2.0:func flip() { isUpsideDown = !isUpsideDown var scale: CGFloat! if isUpsideDown { scale = -1.0 } else { scale = 1.0 } let translate = SKAction.moveByX(0, y: scale*(size.height + kMLGroundHeight), duration: 0.1) let flip = SKAction.scaleYTo(scale, duration: 0.1) runAction(translate) runAction(flip) }But now in Xcode 7 this cod seems to not work. Firstly it seems alright but then hero starts to flip to -2.0, -3.0 and this goes on until the hero goes out of frame.Also this is my game scene cod which worked perfectly on Xcode 6: override func touchesBegan(touches: Set<UITouch>, withEvent event: UIEvent?) { if isGame
Replies
1
Boosts
0
Views
260
Activity
Jul ’15
Reply to Is there a uiscrollview programming guide that is written is swift?
Search for UIScrollView tutorials written in Swift. Internet is full of them. 🙂 If you have a specific problem post it here so we can help. Also it's quite easy to translate Objective-C code to Swift and there are also online translation tools for that.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jul ’15
Xcode 7 beta 4... import localizations crash
Is this a bug in xcode 7 beta 4 or a problem with our translations? Getting a crashProcess: Xcode [13955]Path: /Applications/Xcode-beta.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 7.0 (8178.7)Build Info: IDEFrameworks-8178007000000000~3Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [13955]User ID: 504Date/Time: 2015-07-27 10:20:46.201 -0400OS Version: Mac OS X 10.10.4 (14E46)Report Version: 11Anonymous UUID: 56576435-6521-AF4C-A27C-F5E11A057A25Sleep/Wake UUID: 1FF7208F-EE25-4CAC-A8B7-F89A1D3C38DCTime Awake Since Boot: 31000 secondsTime Since Wake: 6100 secondsCrashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Application Specific Information:IDEEditorDocumentWillCloseNotificationProductBuildVersion: 7A165tASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-8178.7/IDEKit/Editor/IDEEditorContext.m:1365Details: (self.workspaceTabControll
Replies
1
Boosts
0
Views
291
Activity
Jul ’15
Xcode 7 beta 4... import localizations crash
Is this a bug in xcode 7 beta 4 or a problem with our translations? Getting a crashProcess: Xcode [13955]Path: /Applications/Xcode-beta.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 7.0 (8178.7)Build Info: IDEFrameworks-8178007000000000~3Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [13955]User ID: 504Date/Time: 2015-07-27 10:20:46.201 -0400OS Version: Mac OS X 10.10.4 (14E46)Report Version: 11Anonymous UUID: 56576435-6521-AF4C-A27C-F5E11A057A25Sleep/Wake UUID: 1FF7208F-EE25-4CAC-A8B7-F89A1D3C38DCTime Awake Since Boot: 31000 secondsTime Since Wake: 6100 secondsCrashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Application Specific Information:IDEEditorDocumentWillCloseNotificationProductBuildVersion: 7A165tASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-8178.7/IDEKit/Editor/IDEEditorContext.m:1365Details: (self.workspaceTabControll
Replies
0
Boosts
0
Views
277
Activity
Jul ’15
Xcode 7 beta 4... import localizations crash
Is this a bug in xcode 7 beta 4 or a problem with our translations? Getting a crashProcess: Xcode [13955]Path: /Applications/Xcode-beta.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 7.0 (8178.7)Build Info: IDEFrameworks-8178007000000000~3Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [13955]User ID: 504Date/Time: 2015-07-27 10:20:46.201 -0400OS Version: Mac OS X 10.10.4 (14E46)Report Version: 11Anonymous UUID: 56576435-6521-AF4C-A27C-F5E11A057A25Sleep/Wake UUID: 1FF7208F-EE25-4CAC-A8B7-F89A1D3C38DCTime Awake Since Boot: 31000 secondsTime Since Wake: 6100 secondsCrashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Application Specific Information:IDEEditorDocumentWillCloseNotificationProductBuildVersion: 7A165tASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-8178.7/IDEKit/Editor/IDEEditorContext.m:1365Details: (self.workspaceTabControll
Replies
1
Boosts
0
Views
294
Activity
Jul ’15
Reply to Network Extension debugging
I just did another test. There is a simpler way of debugging this.1) In xcode do : Debug | Attach to process by PID or Name. Type: PacketTunnel2) start your app in the device again (your breakpoint for your custom tunnel should trigger now).You can't debug these new target projects from the main project it seems. There is another way mentioned in apple's doc for app extension but it doesn't work for me (i.e.: select scheme you want to debug, PacketTunnel, launch debugging session, it will ask for target app to launch, select SimpleTunnel; but this method doesn't trigger any breakpoints).
Replies
Boosts
Views
Activity
Jul ’15
Reply to the code that works in Xcode 6 doesn't work with Xcode 7
Your question is about the SpriteKit framework. Your chances of getting help will be much higher if you move the question to the SpriteKit forum, which is in the Graphics and Games section of the forums.Additional information that would help someone solve your problem are the values of size.height and kMLGroundHeight. Your translate action moves the hero by the following value:scale * (size.height + kMLGroundHeight)The value of scale is either 1 or -1, but if the sum of size.height and kMLGroundHeight is greater than 1, the hero is going to move more than 1 or -1 unit.
Replies
Boosts
Views
Activity
Jul ’15
Manually launched app crashes
If I run my watch app from the schemes menu, it launches successfully. But if I try to launch it manually it always crashes. I've tried uninstalling and rebooting for the past 2 hours and no progress so far.
Replies
0
Boosts
0
Views
208
Activity
Jul ’15