cloud 9 creating 2 workspaces when I try to create 1 - cloud9-ide

I signed up for a (free) c9 account; verified email address etc.
I selected CREATE NEW WORKSPACE and selected "Ruby on Rails", "Private to the people I invite" (I'm under the impression I get one free Private workspace?), name it "tPRoRD" (abbreviation of the course I'm taking), and select "CREATE"
Expected Behavior:
I hoped to see in the left "MY PROJECTS" pane, adjacent to the default "demo-project", a new project entitled "tPRoRD".
Observed Behavior:
There is a new 'Open and Discoverable' project entitled "tprord"; and a 'greyed-out' project entitled "tPRoRD" which is listed as 'processing'.
When "tPRoRD" is selected, the expected "Start Editing" button is replaced with one entitled "Cancel creation".
I have posted this question on cloud9ide.zendesk.com and have started going back and forth with support - long lags due to time zones.
Has anyone else seen this?
tks! -rb

(may be) SOLVED: appears to be fixed on it's own - does anyone know, the little 'lock' icon next to a workspace name indicate the workspace is 'private' vs 'open and discoverable'?​

tks Brady (at cloud 9) and Ruby on Rails instructor Mashrur Hossain for looking into this for me :-)

Related

How to get around Xcode managed provisioning file expiration every 6 days

First, let me tell you I've browsed sooo many StackOverflow sites to solve this issue. I have found nothing that works/is relevant to Xcode 13.2.
I haven't gotten my Apple Developer account setup yet, (that's a nightmare for corporations.), so I'm trying to get around the 6-day limit for development of an app.
Thanks
After a little bit of messing with settings, I discovered a working solution that is easy to replicate, and doesn't require any excessive work.
#1. Create another Apple ID. This is free. And, unlike other solutions I've looked at, it doesn't require creating a new one each time your other provisioning file runs out. USE THE SAME CREDENTIALS OF YOUR OTHER APPLE ID!!!
#2. Open up your Xcode project. Navigate to the Project properties window.
If you've already logged in to Xcode with an ID, great. If not, do so.
#3.
Click on the 'Team' select button. Click 'Add account' and you'll get the window to add your credentials for your other ID.
Click on the newly added Apple ID.
Now, click on the "i" button next to the 'Xcode Managed Profile.'
You should see:
Just instead of 3 days, it should be 6 days.
#4. Now, you will have to change your bundle Identifier. It does not have to be major, it can simply be the difference between com.myapp.appname and com.myapp.app-name.
Now, whenever you cannot build because your Prov. file expired, switch your Team Id, and change your bundle id to what it was on that account.
Example: MyAppleId 1: B.I. = com.myapp.appname.
When that expires: MyAppleId 2: B.I. = com.myapp.app-name.
Then, repeat. By the time MyAppleID 2 has expired, MyAppleID 1 is ready again.
Cheers!

How to get around Apple app ID insanity

As you all know, Apple changed how Xcode works such that you can't ever create an app with a previously used app ID, even if you're just writing test apps to use locally. Up until now I've just been typing in garbage IDs to get around this stupid antifeature, but today I was greeted with this gem:
So now I'm blocked from creating any more test apps, effectively stopping my development dead in its tracks (I write libraries and frameworks, and need to test them in test apps).
Does anyone know of a way to bypass or disable Apple's restrictions?
It is a kind of limit of free developer accounts, but you could figure out a solution for that:
1- Navigate to the project of any previous application that have been installed on the same device has the problem with .
2- Open Build Settings tab for the app project in Xcode .
3- Search for Bundle ID and copy it .
4- Open up your current app that has the problem and navigate to the same place > Paste and Replace the current Bundle ID with the old one.
5- Run the app.
!!! WALA
Same thing happened to me. I presume it's some kind of a new limit that Apple has put on "non-paying" developers, and that it limits you to 10 apps in 7 days.
Edit - To resolve this, I'll just make a random apple dev ID...
I faced the same situation in my new mackbook with xcode 7.3.1 version.
Even if I tried with old bundle identifier, it didnt worked.
Following below steps helped me to run the app in device.
Got to xcode preference
Click accounts and choose your apple id.
Click the View details
And Click download All.
This will download all the provisioning profile associated with given apple id.
And after that use any identifier that you have used before. You can easily get the old identifier from provisioning profile names.
Just use the bundle ID of any old app that you have already installed like this and change the bundle ID after 7 days. I think apple puts a limit for free developer accounts.
EDIT:
Its important about what #haquangvu mentioned in his answer that, your old app get replaced. So take care of it and thanks #haquangvu for your answer.
Use one of your old Bundle IDs.
It works.
But your old Application will be delete.
DO NOT MAKE ANOTHER ID thats not the solution!!!
To make it work thats what you need to do:
Window > Preferences - Account
Then choose your apple ID and your team, then click on View Detail... Button on the bottom right.
A new window will show up, click on Download all button on the bottom left and all of yours Provisioning Profile will show up.
After that just Left click on those ones you don't have to use anymore and click to move to trash.
after you delete enough profiles, you'll be able to build your project again!
I had this and the other answers here didn't fix the problem. I solved it by opening Window > Devices, finding my device, right-clicking it to "Show Provisioning Profiles", and then deleting a bunch of the profiles there.
Then it worked!
The workaround is to use an id that you previously created. As Xcode does not list the Bundle IDs via Apple ID Details any more, save this into your .bash_profile or ~/.zshrc and call it with list_xcode_provisioning_profile from a terminal
list_xcode_provisioning_profiles() {
while IFS= read -rd '' f; do
2> /dev/null /usr/libexec/PlistBuddy -c 'Print :Entitlements:application-identifier' /dev/stdin \
<<< $(security cms -D -i "$f")
done < <(find "$HOME/Library/MobileDevice/Provisioning Profiles" -name '*.mobileprovision' -print0)
}
To make this answer easier to find I just copied it from hyperknot here: Parsing mobileprovision files in bash?
I have a paid developer account and found this happening in Xcode 9 after creating a bunch of simple test/example apps. In the past, I would have simply selected a "wildcard" App ID. However, Xcode doesn't seem to have a way to do this anymore.
Researching based on the wildcard, I found Technical Q&A QA1713: When should I use a wildcard App ID?. Following these steps seems to have worked for me. (The signing errors are gone, but we'll see what happens in another 7 days or 10 apps, lol.)
Here are the steps, if you have a paid developer account:
Log into your developer account.
In the list on the left, click on Certificates, Profiles & IDs.
In the new list on the left, under Identifiers, click on App IDs.
Click the '+' symbol in the upper right of the page. (You're now at the 'Registering an App ID' page.)
In the box under App ID Description, enter something to describe your App ID. (Note that this description has to be purely alphanumeric; spaces seem to be allowed, but nothing else.)
Under App ID Suffix, select the radio button for Wildcard App ID.
In the box below that, enter the beginning of what you'd like to use as your app's bundle identifier, followed by a dot-asterisk. (For example, maybe your app bundle identifiers in Xcode are something like com.myname.appname. Then, in the box under Wildcard App ID, you'd enter com.myname.*.)
Under App Services, select any available items you think you might use in an app at some point in the near future. (Only a few of the items are available for selecting at this step.)
At the bottom of the page, click the Continue button.
At the resulting 'Confirm your App ID.' page, scan your selections to ensure they're okay; then, at the bottom of the page, click the Register button.
At the resulting 'Registration complete.' page, you can again review the registered options. Then, just scroll to the bottom, and click the Done button.
The new wildcard App ID will now appear in your list of App IDs.
Next, go into Xcode, and create your app, entering an Organization Identifier that matches the wildcard App ID you registered without the dot-asterisk. (For example, if you enter com.myname, Xcode completes what becomes the bundle identifier with a dot and the app name.)
When the project opens at the signing page, Xcode will "Automagically manage signing" correctly ;)
Note: If you have a free developer account, as of the date of this posting, you can't access the 'Certificates, Profiles & IDs' link in your account. ;(
Xcode>General>Identity
Copy Previous Bundle ID
Bundle Identifier : AppleDeveloperName-PreviousProjectName(or whatever)
Paste it in the new project's Bundle ID. It should be fine now.

Adding buttons to Finder toolbar?

Dropbox has the option of adding a button to the Finder toolbar. It even appears in the 'Customize Toolbar...' window.
 
I can't find any documentation on how this sort of thing is done.... Does anyone know how to do this, or can anyone point me towards some documentation or sample code?
EDIT ONE:
I guess a start would be finding the location of the existing icons, and any related code.
I noticed that Dropbox has files in Library/DropboxHelperTools/Dropbox_u501 called mach_inject_bundle_stub.bundle and FinderLoadBundle which might be doing the magic. Dropbox is also putting the 'tick' badge on Finder icons. This code might be involved: github.com/rentzsch/mach_star
EDIT TWO:
A Dropbox talk by Rian Hunter about the process is here, at around 15:30
http://blip.tv/pycon-us-videos-2009-2010-2011/pycon-2011-how-dropbox-did-it-and-how-python-helped-4896698
Looking in the DropboxBundle file in the Dropbox_u501 shows the icons and some compiled code. The code suggests that Rian Hunter is the author: http://twitter.com/timeserena
Rian has his own version of the Mach Star code on his github - https://github.com/rianhunter/mach_star - tho it seems much older
EDIT THREE
There was a 'Code Injection Workshop' at Stanford a few weeks ago - http://stanfordacm.com/past/ - hosted by Rian. If anyone has notes from this please let me know!
You can use Finder Sync app extension(Starting in OS X v10.10).
A Finder Sync extension can:
Add, remove, and update badges and labels on items in a monitored folder.
Display a contextual menu when the user Control-clicks an item inside a monitored folder.
Add a custom button to the Finder’s toolbar.
Dropbox was using undocumented magic. There's no officially supported way to do this; the closest you can get without reverse engineering is Services.
(Update: As of macOS 10.11, what Dropbox was doing is no longer possible at all. System Integrity Protection now prevents code from being injected into system processes, such as the Finder.)
Rian's talk at PyCon 2011 (on blip.tv) does not explain anything more than "We reverse-engineered Finder." Although the mach_star stuff is valuable, it still doesn't explain how to get a sidebar icon working. And the Stanford 'Code Injection Workshop' has not posted any content about this method.
I've nm'd and class-dump'd both bundles that Dropbox installs for each user under /Library/DropboxHelperTools, and the output provides good insight. If I get back to it, I'll finish my research and post it. Odds are, it won't be for some time, so here's hoping this nudge helps someone else.
An easy intermediate answer that may be adequate for some people is to simply create icons that look like buttons.
e.g. I created 'new text file here' and 'new terminal here icons' for my Finder:
The method can be found here.
The disadvantage is that they must be square and do not have animations/menus or show up in 'customize toolbar' etc.

How to change the default company name in Xcode 4.0 (build 4A304a) [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Where do I set my company name?
I installed Xcode 4.0 (build 4A304a) just now. The default company name can't be updated via defaults command on my side. I googled a lot and tried many solutions (AddressBook, com.apple.Xcode and com.apple.dt.Xcode plist file ...) mentioned by others. None works for me...
It's not a big issue and I can even ignore it. But I just want to know why and how.
Did you meet with this issue with Xcode 4? Please advise, thanks!
In XCode 4, open up your project. Select the top-most item in the Project Navigator (MyProjectName, 1 target, iOS SDK 4.3 -- or whatever). Open up the file inspector (View->Utilities). In the Project Document section, you should see an "Organization" line. Edit that, and new files that you create will display the new organization name. This is a project setting, hence you'll have to do it for every project. You'll have to search-and-replace to fix up any existing files.
For new projects that you create, the Organization Name will be whatever the value was on the previously open project. (You can edit it when creating the new project.)
If the Organization Name entry in the UI is blank (and for your very first project ever in XCode maybe?) it'll pull the business name from the "Me" card in your address book.
This works for me!
The ORGANIZATIONNAME substitution value in templates is now replaced with the Company Name from the current user’s Address Book card if present, rather than MyCompanyName. If the PBXCustomTemplateMacroDefinitions user default has already been set, it will be honored.
That we have to set the company name of my name card in address book of the MacOSX.
from: http://www.waterworld.com.hk/en/blog/set-company-name-xcode-4
To clarify as there seems to be a lot of confusion every time I look for this.
XCode will pull the company name from the 'me' entry in your address book IF the organisation line in the project document section is blank. You can override your address book entry on a per project basis using the answer given by AndrewS.
No, no, and no. You see the TRUELY weird thing in Xcode 4 is that it's actually pulling the company name from the "Me" entry in your address book. This overrides all previous solutions!
I couldn't figure out why it kept on inserting my old company name.
Checked the ORGANIZATIONNAME in the command line. That was set as my
new company name. Fail, it was still overridden.
Checked the Company Name entry in the Address Book. That was set as
my new company name. Fail, it was still overridden.
Changed the company name under the "Me" entry in the Address Book.
Finally, success!

XCode: "To download this update...". Is this dialog normal?

I'm getting a dialog box asking to enter my apple developer id & password in xcode. It just says something like "To download this update enter your information." then i goes away.
Is this normal? Seems to me that this would be the perfect way for a trojan to get my apple id and pwd!
It has just happened to me, too (with the current GM Seed version). I was creating a new project when the pop-up dialog appeared.
To be on the safe side, I changed my password immediately after the incident.
What were YOU doing in Xcode when it happened to you? Are you using Xcode 3.2.2, too?
Anybody else having this issue?
The only explanation I found is here:
http://lists.apple.com/archives/xcode-users/2010/Mar/msg00265.html
Then, under /Developer/..., I found a .docset file with a time stamp corresponding to the point in time (plus a couple of minutes) when I had entered my credentials.
However, when I tried to log out & in again, open Xcode - Preferences - Documentation and initiate another download, Xcode did NOT ask me for my Apple ID/PDW again; instead, it asked me for the admin password as usual (I mean - usual for installations; the dialog box looked a bit different). So I am still wondering ...
Regards,
Karel

Resources