I have a staging branch which builds successfully.
I create a branch "zendesk" and then I add
react-native-zendesk-support and react-native link it
Build fails.
Ok no problem, I close everything out (xcode and so forth) and switch back to staging branch.
Build fails and I see react-native-zendesk-support in my Libraries still.
I havne't touched the gitignore since react-native init... is the above expected behavior? Seems like a pretty poor default setup.
Related
I had a project deployed to Heroku but needed to push changes to it. The changes were visible locally but did not push to heroku, I never could figure out why. I deleted the git remote associated with my project and simply started a new Heroku project, then pushed to it.
The new project comes up as a blank screen on Heroku. I did some digging and realized that my local project is not in Production mode.
For the past couple of hours I have tried every solution I can find to get my project into production mode but to no avail.
Deleting public/static and then running npm run build appears to work in terminal, yet the project is still in dev mode.
I would like to simply start over, as though I am deploying for the first time. Is this possible?
I am a beginner and completely at a loss. Thanks in advance.
Since Apple has pulled subversion integration from Xcode (and Perforce never choose to directly support that integration since Xcode 3), it seems as if git is the only fully integrated source code control system for MacOS and IOS development.
How well does Xcode 10.x integration work with GitHub?
In addition to Xcode's integration, what are some polished MacOS apps that serve as stand-alone git clients?
My experience with the git command line has not been great: I'm always getting into trouble where the repository gets messed up ("detached heads", for example) and it seems to take someone with a PhD in git to get me back to a functional, stable repository. Will GitHub help in those situations?
Xcode 10 integration with git is very intuitive and reliable. You can use Xcode for commit, push and see history of commits and so forth. Also Github macOS application works fine but I personally prefer Xcode to do so.
Using Xcode 10.2.1 with git and GitHub, brought me many troubles. I lost one day of development, because even though committing seemed fine inside Xcode, no commit was performed on the local .git repository nor on the remote Github repository.
The only way to recover a proper functionality was to checkout to the last committed version and loose all the job in between.
I have not been able to figure out the exact cause, but I noticed that opening several projects in Xcode and/or using playgrounds while developing on a project seems to corrupt Xcode git functionality. Quitting and relaunching Xcode corrects the trouble, most of the time ...
I have an iOS project which uses a few CocoaPods that I have been regularly committing to a private GitHub repo. Because of the CocoaPods, I always launch it via its workspace.
For the first time ever I attempted to work on the project on a different computer. When I opened XCode and attempted to pull the repo, I realized that the workspace is not in the repo. Only the project itself is there.
Does that mean I did something wrong when I initially created the project repository or does it mean that you simply cannot use multiple computers with GitHub to work on a project that requires CocoaPods?
Just run pod install on the other computer and it will download the dependencies from your Podfile.lock (or Podfile if no lock is present) and generate the workspace.
Another option is to add your Pods directory, along with your xcworkspace and Podfile.lock, to version control. That way your project will be always ready after cloning and your dependencies will be synced in your repository. If those items do not show up on Xcode's git interface, use the git from your Terminal or other app.
The use case you describe is quite common and works fine. You must have forgotten to add the workspace to the repo, maybe it’s in your .gitignores?
I've run into one thing I've never seen before. Throughout this week I've worked with several branches in my project and they all have been committed and pushed to the origin and now, when I'm home I decided to work for a while. But when I switch to one of those branches the scheme to run the app is missing. Only CocoaPods schemes available. This is how it looks:
It's only on one particular branch. When I switch to another branch then it's ok, this scheme is present and I can run the app successfully. What's that? How to fix it?
xcode 4.2 build 4D177b doesn't show error in the issue navigator. When I build the app it pops up the build failed, but in the issue navigator the reason doesn't appear. I'm attaching a screenshot about the problem. How can I see the errors?
i've had issues where the workspace is invalid or corrupt due to pods needing update. if you've switched to a different source control branch recently and pods have changed, and your pods configuration expects a pod that hasn't been installed yet, sometimes it won't display the errors for your main target. try pod install to make sure the workspace, which is managed by cocoapods, is current.