Re: No Editor?
Alex Zavatone
What happens if you copy the whole project folder over to your other computer and open it from the same proj file?
toggle quoted messageShow quoted text
|
|
Re: No Editor?
Charles Phillips
Alex -
from experiment.xcodeproj Charles
|
|
Re: No Editor?
Alex Zavatone
What did you click on to open it? The project file or the workspace file?
toggle quoted messageShow quoted text
|
|
No Editor?
Charles Phillips
Ok another question that I have done a search for, but have not found an answer that I can use.
I have two Macs and write code on both, transferring via Github. One is a Mac Mini and one is a MacBook Pro. I wrote a short C++ application "experiment" on the Mac Mini and transferred it to the MacBook via the clone or "Open with XCode" option - as I have done other times. This time when it opens on XCode it gives me the "no editor" note and does not show the lines of code! Other applications can transfer back and forth - why not this one? How do I tell it which editor to use? MacBook Pro - OS 11.6.4 XCode - 13.2.1 (13C100) Charles
|
|
Saving Editor Layout in Xcode
robmartin@frontiernet.net
Is there some way of getting Xcode to remember the layout of the editors you last used?
My 'go to' tab configures 3 Editor columns across my 34" screen. Every time I quit Xcode, it loses the column geometry when I next restart. It will open up the tab with the column widths completely mangled. If I click to 'focus' on any of the editors, and then click again to 'un-focus' the same editor, it will restore all 3 to the way I left them when I last quit Xcode. It's such a hassle! I'm sure I'm missing something really basic… any clues? Thanks, Rob (PS this is Xcode 13/Monterey - but it was the same with Xcode 12/Catalina)
|
|
Re: XCode Refuses To Compile
Ok, I think that I just did something dumb to get myself into this situation. I was "straightening out" files and must have moved main.cpp and experiment.xcodeproj into a backup folder - instead of moving copies. I did not look carefully enough at the path as shown in the XCode window. Now I have moved both back to where they were supposed to be. And it works.
Oops. Charles answer was: "This sounds dumb, but in the XCode window I do see "main.cpp" but in the folder it did NOT appear! So I created a text file, pasted the code in from XCode, and saved it where it needed to be as main.cpp Now there should be an experiment.xcodeproj in the folder above but there is not. I swear that I built this folder from Github (Open in XCode) just as I have done many times before. I just don't know what happened this time."
|
|
Re: XCode Refuses To Compile
Alex Zavatone
When you get that message, do you check if that file is there? If so, what is the result?
toggle quoted messageShow quoted text
|
|
XCode Refuses To Compile
Charles Phillips
Sometimes I can see the code in the XCode window, can edit it, can Commit - but get this error message! What is going on? I have done a search or two.
|
|
Re: Voiceover support question
Alex Zavatone
It appears that we can do this through Siri. Hope the helps someone else.
toggle quoted messageShow quoted text
On Feb 18, 2022, at 10:35 AM, Alex Zavatone via groups.io <zav=mac.com@groups.io> wrote:
|
|
Voiceover support question
Alex Zavatone
I noticed in Xcode that there are some Environment Overrides in the debugger pane and I see Accessibility options in there.
Is it possible using this to quickly turn or turn off Voiceover on a connected device? Using Voiceover slows everything down and I’m trying to speed up my Accessibility/ADA testing. Thanks in advance, Alex Zavatone
|
|
Xcode Organizer Crash Reports FUBARed
My company use to capture iOS crash reports with a service, but of course if the crash happens at launch and the user cannot ever continue, those are worthless.
Also since Apple's are no cost it seemed like a no brainer to just use Apple. Well, I'm happily looking at the Organizer's list of reports, and patting myself on the back - almost none. The I open on in the Finder, go poking around, and OMG - there are slews of them that never make it to the Organizer list. And gee whiz - even in one xccrashpoint container there are many crashes that are in different places. What the f is a xccrashpoint folder for anyway? Does this crap with Apple never end? Soooooo - my question - is there some tool out there I can get that will rummage around all the xccrashpoint containers and extract the real list of crashes? I'm thinking of just doing a find command that gets the last days entries and copies them to some folder on the desktop, and just run this daily, But WTF! David
|
|
Another XCode - Github Question: Friend Started Repository With Visual Studio Code
A pal and I have worked on several "Terminal Applications" together and exchange code via Github. He writes using Visual Studio Code but I am sticking with XCode (because I don't want to spend time learning another IDE, just time writing). XCode 11.3.1 by the way.
I usually start applications and load them onto Github, this time he started one and loaded it there. I always have an option to open with XCode under the very green Code button. But when he starts an application with VSC, that option is not there. How do I get it to be there? Thanks. Charles #Github
|
|
Re: certificate woes
Marco S Hyman
When using Automatically handle signing in an app that requires provisioning -- apparently not all do -- one is provided for you. After several hours of playing I finally found the issue. This is the first time I’d tried to have an app notarized after renewing my developer account. I had to go to the devices section and “renew” my list of devices for the account. Once I did that everything worked. I don’t remember having to do that in the past. Perhaps it is a requirement of using the latest version of X code. Marc
|
|
Re: certificate woes
James Walker
On Dec 1, 2021, at 12:56 PM, Marco S Hyman <marc@snafu.org> wrote: Do you even need to specify a provisioning profile when you notarize? I don't.
|
|
certificate woes
Marco S Hyman
Happy December Xcode users,
I updated a Mac app and uploaded it to the Mac App Store. No problems. It is in review. I also make the app available for download for those who don’t want to use the app store. Problems. When trying to upload the app to be notarized I’m getting a certificate error: Profile doesn’t include the selected signing cert. I’ve always used the “Automatically Handle Signing” option. It has, up to this point, always worked. Needless to say I’m clueless as to what might be wrong. The only thing that looks interesting to my untrained eye is that my Signing Certification has always been team A3U.... That is also what I see when I check certificates at appstoreconnect.apple.com. Xcode, however, says my signing cert is WPD.... I suspect that is the issue as the profile references the A3U... cert. Even a freshly downloaded cert. Any ideas on how to resolve this issue? Thanks, Marc
|
|
Re: Strange Xcode behavior
Owen Hartnett
It’s an obj-C project overall, but it has one Swift file, and that is where it fails. I’ve tried manually adding include files as you’ve suggested, but it then complains about double declarations of other terms.
toggle quoted messageShow quoted text
I was able to reproduce on another system, and then I preened the include search paths and fixed it. I retried on the server and still has the issue, so I must have done something on the fixed machine that I also need to do on the server. So now it’s just a case of diff and comparisons. Thanks for your help! -Owen
|
|
Re: Strange Xcode behavior
Sak Wathanasin
Is the problem with the Obj-C or the Swift files? An explicit #import <sys/types.h> should pull in the definition of u_char, but that is usually in the import chain already. In my test project I didn’t have to explicitly include it. Something to do with search paths? Sak
|
|
Re: Strange Xcode behavior
Owen Hartnett
Thanks for the reply. Yes, I tried that. It’s looking like some of the header paths in the build settings need to be adjusted. Still plugging at it.
toggle quoted messageShow quoted text
-Owen
|
|
Re: Strange Xcode behavior
Sak Wathanasin
Have you tried clearing out the “DerivedData” folder? Maybe it has stuff cached from older/newer SDKs. Regards Sak
|
|
Strange Xcode behavior
Owen Hartnett
I’ve set up a remote build server, and a project that had been building fine is suddenly giving very strange errors.
This is an objective C project with one Swift file in it. The project, when attempting to compile, shows an error: <module-includes>:74:9: note: in file included from <module-includes>:74: #import "net/if_dl.h" ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/net/if_dl.h:93:2: error: unknown type name 'u_char'; did you mean 'char'? u_char sdl_len; /* Total length of sockaddr */ ^ <module-includes>:74:9: note: in file included from <module-includes>:74: #import "net/if_dl.h" ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/net/if_dl.h:94:2: error: unknown type name 'u_char'; did you mean 'char'? u_char sdl_family; /* AF_LINK */ ^ repeated 27 times, for each instance of u_char in the if_dl.h file. It fails when trying to compile the only Swift file. If I copy the entire project folder to my laptop, it compiles fine without the above messages. Other team members also have no problems compiling it. It is only on this one computer. The source is checked out from git, there seems to be no differences in setup that I can tell. I suppose I could drop a define for u_char in the settings, but I’d really like to find out why this is happening. This if_dl.h file looks like a holdover from 2011. The server is being used as a remote xcode server, and I’ve also been testing fastlane on it, but no code changes in the project itself. -Owen
|
|