Search results for

“xcode github”

95,462 results found

Post

Replies

Boosts

Views

Activity

Reply to Transparent Proxy seems to break Mail.app on Big Sur
Greetings, @meaton! I've put the code on github: https://github.com/ngorskikh/transparentproxyrepro I've updated the feedback, too, but it looks like attachments don't work for some reason -- or at least I can't see my own attachments, even though the original feedback request contained some automatically collected logs, as well as a zip with an xcode project and a couple of screenshots. Kind regards, ngorskikh.
Sep ’20
Reply to Simpler hierarchy for capturing body motion in 3D
Hi to all! I have a problem: I run the code as it comes from the zip file, Xcode makes the built, no error, and sends the app to my iphone. The problem is that nothing appears in the Ar view, I can't see the robot.usdz, inside the appledeveloper code. I'm using iPhone 12 pro, iOs 15 beta 3 and X code 13 beta. I've updated everything, so that may be the problem? Is lidar on as default? I don't see any code about lidar inside the code from the zip. Why doesn't the robot even appear to me? Apologise for all that question maybe almost off topic, but the situation It's really frustrating, so any help is very appreciated :)
Topic: Spatial Computing SubTopic: ARKit Tags:
Jul ’21
Reply to error: invalid target, create a target using the 'target create' command
Very deep cleaning (rm derived data, caches, ++) fixes the missing BackgroundTask console output. So whats left is that Xcode 13 LLDB does not print objects in most places of out code. Reproducible for the complete team. error: invalid target, create a target using the 'target create' command // ... (lldb) po someObject error: :3:1: error: cannot find 'someObject' in scope While Xcode 12.x works as expected. Due to the fact the internet did not explode yet, I assume this is not a general Xcode issue but something related to our Xcode Project. Any hint highly appreciated o/
Jan ’22
Getting crash when using notarytool on Github hosted osx build agents
When I run notarytool submit in my github workflow, I get what appears to be some kind of segmentation fault. Here's a direct link to the exception output: https://github.com/recyclarr/recyclarr/actions/runs/6594346352/job/17918152266#step:6:43 My project is open source, so you can also view the shell script I use in the workflow itself: https://github.com/recyclarr/recyclarr/blob/update-notary-tool/ci/notarize.sh The script above contains this: #!/usr/bin/env bash set -xe user=$1 pass=$2 teamId=$3 archivePath=$4 function submit() { xcrun notarytool submit --wait --apple-id $user --password $pass --team-id $teamId recyclarr.zip | awk '/id: / { print $2;exit; }' } function log() { xcrun notarytool log --apple-id $user --password $pass --team-id $teamId $1 } tar -cvf recyclarr.tar $archivePath zip recyclarr.zip recyclarr.tar submissionId=$(submit) rm recyclarr.zip recyclarr.tar if [[ -z $submissionId ]]; then exit 1 fi echo Submission ID: $submissionId until log $submissionId do sleep 2 done T
1
0
760
Oct ’23
Reply to Swift - Insert [AnyObject] into [NSMutableDictionnary]
This code: dataArray = [[jobs: ctlelems[x], unload: 0]];is replacing the whole content of dataArray with the single element array. It does not work as Insert.To append an element to Array: dataArray += [[jobs: ctlelems[x], unload: 0]]or dataArray.append([jobs: ctlelems[x], unload: 0])Found nil is another problem. You use too much unwrapping operators (!), without checking the optional value is nil or not.Put nil checking code before using !.
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’15
Reply to Decodable and CGPoint
It depends a bit on the scale of the problem.One solution would be just to write the manual decoding for types like Circle that contain a CGPoint. The synthesized code is almost trivial to re-create manually, so it's just a question of source code size.Or, you could try to finagle the types like Circle like this:struct MyPointStruct: Decodable { let x: CGFloat let y: CGFloat } struct Circle: Decodable { private var _center: MyPointStruct var center: CGPoint { get { return CGPoint (x: _center.x, y: _center.y) } set { _center = MyPointStruct (x: newValue.x, y: newValue.y) } } }Or perhaps slightly more cleanly, if you have lot of point-containing structs:struct MyPointStruct: Decodable { var x: CGFloat var y: CGFloat var point: CGPoint { get { return CGPoint (x: x, y: y) } set { x = newValue.x; y = newValue.y } } } struct Circle: Decodable { private var _center: MyPointStruct var center: CGPoint { get { return _center.point } set {
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’17
Reply to Writing a chained command line tool
Where do I find example code, tutorialThere are not many users who write commandline tools in Swift, so it may be hard to find a good example or tutorial online.But the concept of chainable commandline app is very simple, read input from standard input, write output to standard output.(I assume you have a Mac with Xcode and its CommandLine Tools installed. If you have a question about Swift on other platform, you should better visit swit.org .)Example:double.swift#!/usr/bin/swift import Foundation while let line = readLine() { print(line, line) }In Terminal:OOPers-mini:commandline dev$ chmod +x double.swiftOOPers-mini:commandline dev$ ls -altotal 8drwxr-xr-x 3 dev staff 96 1 26 08:29 .drwxr-xr-x@ 4 dev staff 128 1 26 08:16 ..-rwxr-xr-x 1 dev staff 90 1 26 08:25 double.swiftOOPers-mini:commandline dev$ ls -al | ./double.swifttotal 8 total 8drwxr-xr-x 3 dev staff 96 1 26 08:29 . drwxr-xr-x 3 dev staff 96 1 26 08:29 .drwxr-xr-x@ 4 d
Topic: Programming Languages SubTopic: Swift Tags:
Jan ’19
Reply to XCode Cloud with Azure Devops-hosted Git?
So for what it's worth, I was never able to make this work. My particular app wasn't very big, so I created a private repo on Github as a second origin to push to, and just sync it when I want to do a build. It's clumsy (and wouldn't work if you can't use Github for whatever reason), but it got me by. Hopefully Apple will eventually add generic Git support.
Jul ’24
Reply to Transparent Proxy seems to break Mail.app on Big Sur
Greetings, @meaton! I've put the code on github: https://github.com/ngorskikh/transparentproxyrepro I've updated the feedback, too, but it looks like attachments don't work for some reason -- or at least I can't see my own attachments, even though the original feedback request contained some automatically collected logs, as well as a zip with an xcode project and a couple of screenshots. Kind regards, ngorskikh.
Replies
Boosts
Views
Activity
Sep ’20
Reply to Simpler hierarchy for capturing body motion in 3D
Hi to all! I have a problem: I run the code as it comes from the zip file, Xcode makes the built, no error, and sends the app to my iphone. The problem is that nothing appears in the Ar view, I can't see the robot.usdz, inside the appledeveloper code. I'm using iPhone 12 pro, iOs 15 beta 3 and X code 13 beta. I've updated everything, so that may be the problem? Is lidar on as default? I don't see any code about lidar inside the code from the zip. Why doesn't the robot even appear to me? Apologise for all that question maybe almost off topic, but the situation It's really frustrating, so any help is very appreciated :)
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Jul ’21
Reply to error: invalid target, create a target using the 'target create' command
Very deep cleaning (rm derived data, caches, ++) fixes the missing BackgroundTask console output. So whats left is that Xcode 13 LLDB does not print objects in most places of out code. Reproducible for the complete team. error: invalid target, create a target using the 'target create' command // ... (lldb) po someObject error: :3:1: error: cannot find 'someObject' in scope While Xcode 12.x works as expected. Due to the fact the internet did not explode yet, I assume this is not a general Xcode issue but something related to our Xcode Project. Any hint highly appreciated o/
Replies
Boosts
Views
Activity
Jan ’22
Getting crash when using notarytool on Github hosted osx build agents
When I run notarytool submit in my github workflow, I get what appears to be some kind of segmentation fault. Here's a direct link to the exception output: https://github.com/recyclarr/recyclarr/actions/runs/6594346352/job/17918152266#step:6:43 My project is open source, so you can also view the shell script I use in the workflow itself: https://github.com/recyclarr/recyclarr/blob/update-notary-tool/ci/notarize.sh The script above contains this: #!/usr/bin/env bash set -xe user=$1 pass=$2 teamId=$3 archivePath=$4 function submit() { xcrun notarytool submit --wait --apple-id $user --password $pass --team-id $teamId recyclarr.zip | awk '/id: / { print $2;exit; }' } function log() { xcrun notarytool log --apple-id $user --password $pass --team-id $teamId $1 } tar -cvf recyclarr.tar $archivePath zip recyclarr.zip recyclarr.tar submissionId=$(submit) rm recyclarr.zip recyclarr.tar if [[ -z $submissionId ]]; then exit 1 fi echo Submission ID: $submissionId until log $submissionId do sleep 2 done T
Replies
1
Boosts
0
Views
760
Activity
Oct ’23
Reply to Tunnelling VPN traffic through a local proxy server with NEPacketTunnelProvider
Could you please be more precise about the Github repository you used? Thank you in advance.
Replies
Boosts
Views
Activity
Apr ’23
Reply to nw_protocol_get_quic_image_block_invoke dlopen libquic failed
I have same issue, my app was working on iOS 13.7 from Xcode 11.7. It's not working with iOS 14.x upgrade I tried all the scenarios mentioned here and other forums, so far no luck. Looks like it's wierd new issue, I could not find more info on the issue any where. In my case the code failed, when popuating data the tableview.
Replies
Boosts
Views
Activity
Dec ’20
Reply to Swift - Insert [AnyObject] into [NSMutableDictionnary]
This code: dataArray = [[jobs: ctlelems[x], unload: 0]];is replacing the whole content of dataArray with the single element array. It does not work as Insert.To append an element to Array: dataArray += [[jobs: ctlelems[x], unload: 0]]or dataArray.append([jobs: ctlelems[x], unload: 0])Found nil is another problem. You use too much unwrapping operators (!), without checking the optional value is nil or not.Put nil checking code before using !.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’15
Reply to Swift 2.3 - What will be the date of your death?
I think if you have time, upgrade your code base to swift 3.x ASAP
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’17
Reply to MacOS X application codesign gets failed if it has symlink folders
Looks like a duplicate of MacOS X application code sign issue
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Feb ’19
Reply to Decodable and CGPoint
It depends a bit on the scale of the problem.One solution would be just to write the manual decoding for types like Circle that contain a CGPoint. The synthesized code is almost trivial to re-create manually, so it's just a question of source code size.Or, you could try to finagle the types like Circle like this:struct MyPointStruct: Decodable { let x: CGFloat let y: CGFloat } struct Circle: Decodable { private var _center: MyPointStruct var center: CGPoint { get { return CGPoint (x: _center.x, y: _center.y) } set { _center = MyPointStruct (x: newValue.x, y: newValue.y) } } }Or perhaps slightly more cleanly, if you have lot of point-containing structs:struct MyPointStruct: Decodable { var x: CGFloat var y: CGFloat var point: CGPoint { get { return CGPoint (x: x, y: y) } set { x = newValue.x; y = newValue.y } } } struct Circle: Decodable { private var _center: MyPointStruct var center: CGPoint { get { return _center.point } set {
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’17
Reply to Writing a chained command line tool
Where do I find example code, tutorialThere are not many users who write commandline tools in Swift, so it may be hard to find a good example or tutorial online.But the concept of chainable commandline app is very simple, read input from standard input, write output to standard output.(I assume you have a Mac with Xcode and its CommandLine Tools installed. If you have a question about Swift on other platform, you should better visit swit.org .)Example:double.swift#!/usr/bin/swift import Foundation while let line = readLine() { print(line, line) }In Terminal:OOPers-mini:commandline dev$ chmod +x double.swiftOOPers-mini:commandline dev$ ls -altotal 8drwxr-xr-x 3 dev staff 96 1 26 08:29 .drwxr-xr-x@ 4 dev staff 128 1 26 08:16 ..-rwxr-xr-x 1 dev staff 90 1 26 08:25 double.swiftOOPers-mini:commandline dev$ ls -al | ./double.swifttotal 8 total 8drwxr-xr-x 3 dev staff 96 1 26 08:29 . drwxr-xr-x 3 dev staff 96 1 26 08:29 .drwxr-xr-x@ 4 d
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jan ’19
Reply to XCode Cloud with Azure Devops-hosted Git?
So for what it's worth, I was never able to make this work. My particular app wasn't very big, so I created a private repo on Github as a second origin to push to, and just sync it when I want to do a build. It's clumsy (and wouldn't work if you can't use Github for whatever reason), but it got me by. Hopefully Apple will eventually add generic Git support.
Replies
Boosts
Views
Activity
Jul ’24
Reply to Eclipse (4.4) and other Java applications unusable under El Capitan DP3
https://github.com/mnott/javamakeJust found this GitHub repo. Helps!
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’15
Reply to Anyone got SharePlay (Group Activities) to work on Safari?
Did you manage to make it work? If yes, can you upload your code to GitHub, I would be interested.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to React Native app doesn't load on IOS versions 11 and 12
Please take this question to the React Native Github Issues for answers.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’22