Search results for

“xcode github”

98,153 results found

Post

Replies

Boosts

Views

Activity

Reply to How To Get Assembler Listing Of C++ Program In Xcode
Answering a slightly different question:In Xcode 7.1, select your C or Objective C source code file in the file inspector; then, in Xcode's Product menu, select Perform Action > Assemble yourSourceFile.mYou may have to play with Architectures in the selected Target's Build settings to select the 32 or 64 bit ISA you want to see.Also, with Xcode 7.x installed, from the OSX Terminal command-line, you could try:xcrun -sdk macosx swiftc -emit-assembly yourSourceFile.swiftorclang -S yourSourceFile.c
Oct ’15
Reply to Xcode 12 beta 4 - error compiling for Simulator
Lost 2 days on this - bah! Want to give REAL Kudos to those who actually helped solve this problem: stschwar @ github in this post: https://github.com/CocoaPods/CocoaPods/issues/10059 pointed to this SO post with a simple solution: https://stackoverflow.com/questions/63391793/xcode-12-build-target-in-wrong-order/63405201#63405201 XCode has a deserved 3 stars for many reasons, this is one of them! Counterproductivity kills.
Sep ’20
Reply to Xcode stuck waiting for device to unlock, waiting for symbols, etc.
@farajcontrollers @flarosa I have the same problem Xcode 15.0.1 and iOS 17.1.2 Does not work via USB or WiFi Already tried: 1 - Disable and activate the multiplath network in the device's developer options 2 - I updated xcode 3 - I changed USB 4 - I unpaired and paired the device 5 - I changed wifi networks to test and several other things I saw on stakoverflow and github. NOTHING YET
Dec ’23
Reply to In-app purchase restore not work in 10.2.1
The scenarios you are describing are quite confusing.One thing you wrote: We installed our app(v1.x) from the App store and then installed (v2.x) from Test filght. In this version, the buy In-app purchase and Restore options were provided.Installing an app over another app rather than deleting the first version will change the code that is run (i.e. you will get the options in v2.x) but it may not change the signature of the app - that is, the app installed from Xcode may think it was installed from the App Store and seek out the production environment rather than the sandbox environment for all IAP functions. And the error message you describe may indicate you had tramnsaction for which you did not call finishTransaction
Topic: App & System Services SubTopic: StoreKit Tags:
Mar ’17
Reply to How to develop a driverkit driver for USB device on macOS catalina
Thanks for your reply. I download the code from github, but it cannot compile.And Xcode has an error Signing for MyUserUSBInterfaceDriver requires a development team, Select a development team in the Signing & Capabilities editorThen I disable the Automatically manage signing in Signing&Capabilities editor , it shows MyUserUSBInterfaceDriver require a provisioning profile. How can I resolve the issue?
Topic: App & System Services SubTopic: Drivers Tags:
Jan ’20
Reply to NSAttributedString draw in rect
@DTS Engineer Thanks, again. I tried your code but it returns more or less the same rect as boundingRectWithSize:options:context:. So it returns the exact same height for a lower case x and an upper case X: x -> {{-66, 0}, {132, 303.63671875}} X -> {{-82.88671875, 0}, {165.7734375, 303.63671875}} Any idea? Thanks…
Topic: UI Frameworks SubTopic: AppKit Tags:
Aug ’24
Reply to Question regarding memory/processor CPU and number of images vs size of images.
So I just tried loading a plain green/grassy background image into my game. The background map was 1000 x 1000 but after testing it out I could actually use closer to 2000 x 2000 map size. The player in the game will need a lot of space to explore + at anytime there will be like 20 monsters chasing after him.When I loaded the 1000 x 1000 background image it started to get choppy as the player ventured towards the middle of the map. When he went closer to the sides or off the map the FPS went back up. I didn't use any fancy coding to break the map down into parts or tell xcode to do any of that for me.What do you suggest I do if I want to use a map around the size of 2000 x 2000... Please help and thank you for your time.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Aug ’15
Reply to Xcode 10 simulator iPad 9.7 vs 12.9 views rendering not to Storyboard's constraints
I haven't looked at UIScreen.mainbounds report ....but for my launch images, I am using an .xcassets catalog file in Xcode 10.1 for my app designed for for IOS 11.0+. I see in the .xcassets file / my launch Images for ipad landscape, IOS 7.0 or later has only two launch image files: 1x (1024 x 768) and 2x (2048 x 1536). If an iPad 12.9 in landscape is 2732 x 2048, and I'm using storyboard with all necessary constraints .....is the 2x launch screen in my .xcassets resolution forcing contraints to a lower resolution with different constraints? Any suggestions how to resolve? ...do I need to add a 2732 x 2048 launch screen somehow to .xcassets file or add some device detection code since my ipad storyboard constraints are being ignored in Simulator?
Nov ’18
Reply to apply strike through on Special character Rp‎ 4.752.000
Tested on the Playground of Xcode 8.3.3.import UIKit let oldpricenameLabel = UILabel(frame: CGRect(x: 0, y: 0, width: 320, height: 120)) let productView = UIView(frame: CGRect(x: 0, y: 0, width: 320, height: 120)) let decodedString = Rp 514.800 var style = [NSStrikethroughStyleAttributeName: 2] let attributeString = NSMutableAttributedString(string: decodedString, attributes: style) oldpricenameLabel.attributedText = attributeString oldpricenameLabel.backgroundColor = UIColor.yellow productView.addSubview(oldpricenameLabel)With Quick Look into `productView`, I get something like this:Rp 514.800Seems this code acutally works.Please show enough code to reproduce your issue. I believe you can try with your Playground.
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’17
Reply to How To Get Assembler Listing Of C++ Program In Xcode
Answering a slightly different question:In Xcode 7.1, select your C or Objective C source code file in the file inspector; then, in Xcode's Product menu, select Perform Action > Assemble yourSourceFile.mYou may have to play with Architectures in the selected Target's Build settings to select the 32 or 64 bit ISA you want to see.Also, with Xcode 7.x installed, from the OSX Terminal command-line, you could try:xcrun -sdk macosx swiftc -emit-assembly yourSourceFile.swiftorclang -S yourSourceFile.c
Replies
Boosts
Views
Activity
Oct ’15
Reply to Xcode 12 beta 4 - error compiling for Simulator
Lost 2 days on this - bah! Want to give REAL Kudos to those who actually helped solve this problem: stschwar @ github in this post: https://github.com/CocoaPods/CocoaPods/issues/10059 pointed to this SO post with a simple solution: https://stackoverflow.com/questions/63391793/xcode-12-build-target-in-wrong-order/63405201#63405201 XCode has a deserved 3 stars for many reasons, this is one of them! Counterproductivity kills.
Replies
Boosts
Views
Activity
Sep ’20
Reply to Xcode stuck waiting for device to unlock, waiting for symbols, etc.
@farajcontrollers @flarosa I have the same problem Xcode 15.0.1 and iOS 17.1.2 Does not work via USB or WiFi Already tried: 1 - Disable and activate the multiplath network in the device's developer options 2 - I updated xcode 3 - I changed USB 4 - I unpaired and paired the device 5 - I changed wifi networks to test and several other things I saw on stakoverflow and github. NOTHING YET
Replies
Boosts
Views
Activity
Dec ’23
Reply to Anyone Notified of Developer Kit Selection?
Github it...maybe someone will test for you?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to Viewing Interface in XCode 12.3
CocoaSlideShow was from Github. I can find one CocoaSlideShow on Github, and it has only xibs. I could see the interface. After closing and re-opening I could not see it. Unless you accidentally deleted the xibs, you may be mistaking where to find it.
Replies
Boosts
Views
Activity
Mar ’21
Reply to In-app purchase restore not work in 10.2.1
The scenarios you are describing are quite confusing.One thing you wrote: We installed our app(v1.x) from the App store and then installed (v2.x) from Test filght. In this version, the buy In-app purchase and Restore options were provided.Installing an app over another app rather than deleting the first version will change the code that is run (i.e. you will get the options in v2.x) but it may not change the signature of the app - that is, the app installed from Xcode may think it was installed from the App Store and seek out the production environment rather than the sandbox environment for all IAP functions. And the error message you describe may indicate you had tramnsaction for which you did not call finishTransaction
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Mar ’17
Reply to How to develop a driverkit driver for USB device on macOS catalina
Thanks for your reply. I download the code from github, but it cannot compile.And Xcode has an error Signing for MyUserUSBInterfaceDriver requires a development team, Select a development team in the Signing & Capabilities editorThen I disable the Automatically manage signing in Signing&Capabilities editor , it shows MyUserUSBInterfaceDriver require a provisioning profile. How can I resolve the issue?
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Jan ’20
Reply to NSAttributedString draw in rect
@DTS Engineer Thanks, again. I tried your code but it returns more or less the same rect as boundingRectWithSize:options:context:. So it returns the exact same height for a lower case x and an upper case X: x -> {{-66, 0}, {132, 303.63671875}} X -> {{-82.88671875, 0}, {165.7734375, 303.63671875}} Any idea? Thanks…
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Found an unexpected Mach-O header code: 0x72613c21
this may help someone.My project was hosted on GitHub.- When I cloned the project to the desktop and compiled, I received this error.- Though, when I checked out the project within Xcode 8 beta 2 using Source Control->Checkout and compiled, there was no error.Somehow projects appear subtly different when downloaded vs checkout.Brian.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’16
Reply to Question regarding memory/processor CPU and number of images vs size of images.
So I just tried loading a plain green/grassy background image into my game. The background map was 1000 x 1000 but after testing it out I could actually use closer to 2000 x 2000 map size. The player in the game will need a lot of space to explore + at anytime there will be like 20 monsters chasing after him.When I loaded the 1000 x 1000 background image it started to get choppy as the player ventured towards the middle of the map. When he went closer to the sides or off the map the FPS went back up. I didn't use any fancy coding to break the map down into parts or tell xcode to do any of that for me.What do you suggest I do if I want to use a map around the size of 2000 x 2000... Please help and thank you for your time.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Aug ’15
Reply to Xcode 10 simulator iPad 9.7 vs 12.9 views rendering not to Storyboard's constraints
I haven't looked at UIScreen.mainbounds report ....but for my launch images, I am using an .xcassets catalog file in Xcode 10.1 for my app designed for for IOS 11.0+. I see in the .xcassets file / my launch Images for ipad landscape, IOS 7.0 or later has only two launch image files: 1x (1024 x 768) and 2x (2048 x 1536). If an iPad 12.9 in landscape is 2732 x 2048, and I'm using storyboard with all necessary constraints .....is the 2x launch screen in my .xcassets resolution forcing contraints to a lower resolution with different constraints? Any suggestions how to resolve? ...do I need to add a 2732 x 2048 launch screen somehow to .xcassets file or add some device detection code since my ipad storyboard constraints are being ignored in Simulator?
Replies
Boosts
Views
Activity
Nov ’18
Reply to How could I create an app that turns on the heart rate sensor when a switch is turned on?
search github WatchOS3 Heartrate
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’17
Reply to Implementing a virtual serial port using DriverKit/SerialDriverKit
Hi, Look this Thread or Github
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to apply strike through on Special character Rp‎ 4.752.000
Tested on the Playground of Xcode 8.3.3.import UIKit let oldpricenameLabel = UILabel(frame: CGRect(x: 0, y: 0, width: 320, height: 120)) let productView = UIView(frame: CGRect(x: 0, y: 0, width: 320, height: 120)) let decodedString = Rp 514.800 var style = [NSStrikethroughStyleAttributeName: 2] let attributeString = NSMutableAttributedString(string: decodedString, attributes: style) oldpricenameLabel.attributedText = attributeString oldpricenameLabel.backgroundColor = UIColor.yellow productView.addSubview(oldpricenameLabel)With Quick Look into `productView`, I get something like this:Rp 514.800Seems this code acutally works.Please show enough code to reproduce your issue. I believe you can try with your Playground.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’17
Reply to Crashing WKCompositingView
Can you give me example in github?
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Sep ’16