View titanium code in xcode format - xcode

Is there a way to view the code typed in titanium in the xCode format? If so, which file should I check out under ProjectName/ProjectName.xcodeproj

This is the beauty of titanium that it uses the native code and you could run its project in xcode too.Double click on the ProjectName.xcodeproj and it would open your project in xcode and then you can run code from there
Thanks

In the build/iphone directory, you'll find an xcodeproj file.
Double-click it to open the project in Xcode. However, you might not
want to do your final build in Xcode. You'll lose internationalization
and perhaps other Titanium features that way. You can do you final
packaging in Studio. If they're not already installed into Xcode,
Studio will prompt you for your distribution certificate and
provisioning file. It will build your final IPA using the Build &
Archive equivalent of Xcode. You can use the Xcode Organizer then to
validate and upload the IPA. Or, use the
Developer/Applications/Application Loader tool to upload your IPA to
iTunes Connect
Reference : http://developer.appcelerator.com/question/122926/open-appcelerator-project-in-xcode

Related

How to open existing flutter project from Xcode?

I have an existing flutter project, which coded with VS Code. Now I want to open it from Xcode to do some configurations in Runner.xcworkspace. But it was unable to open the project from Xcode and it shows the above warning. So, how can I open my existing project from Xcode now?
If you want to make changes in the Runner.xcworkspace and you are using VSCode, I would suggest you open the project in VSCode and Right-Click on the ios folder.
Here you will see an option: Open in Xcode.
Select that option and the iOS project of the Flutter project will open in Xcode and you can carry on with the changes as you want
One thing to note is that like Android Studio, Xcode is not supported for Flutter Development as of now so if you try to open the whole project it will not let you.
Note! Unlike Android studio, flutter isn't supported to XCode yet, you have to open iOS folder of Flutter project only and solely.
1- Open XCode
2- Select 'Open existing Projects'
3- Search your project through search bar in window or search manually through directory.
4- From your Flutter Project, open the iOS folder.
And here we go! You have opened it.
I successfully open the AppFrameworkInfo.plist file with Xcode as follows.
Open the project with Android Studio
Select the iOS > Runner folder
Navigate to Tools > Flutter > Open iOS Module in Xcode

How to reload the project in xcode

I am using a CLI tool to add new folders and files in a Xcode Project but even though I am able to see it in finder, its not reflecting in Xcode.
And this image is the Xcode project view
As you can see the folder that I made using the CLI tool is not reflected in Xcode. How can I fix this?
Thanks in advance!

How to create .ipa file in visual studio 2017?

I am working on a Xamarin.Forms app. I can create the .apk file for Android by right-clicking on project and then click on Archive. I wonder how to generate the .ipa file for iOS using Visual Studio. If I right click on my iOS project, the Archive option is present, but it is disabled. I followed a few articles on this issue in few I found that connect to macOS on the remote. I don't want to run my project, only I need to generate the .ipa file which I will install on my iPhone. Please help me
There are detailed steps in Official document about how to create a .ipa file in Visual Studio 2017:
Read this document will help: creating-an-ipa
And here are documents about app-distribution: app-distribution
By assuming you've done all provisioning and mac connection(if don't see this article).
Set project configuration to Ad-Hoc or AppStore
Select iOS project as Startup Project
Right click and Build iOS project
At the end you'll have .ipa file in build folder({project location}/{project}.iOS/bin/Ad-Hoc/yourAppName.ipa)

No IPA file found when building with Visual Studio

I'm developing my project in Visual Studio 2012 using Xamarin Monotouch.
I choose profile Ad-Hoc, specify signing information (provision profile, identity etc) and build my project.
But I see no IPA file generated neither on my PC, nor on Mac. I tried to find it, but it was unsuccessful. It happens even in new HelloWorld project. Where can I find IPA file?
'Show IPA file' toolbar button in Visual Studio is always inactive.
When I do the same thing in Xamarin Studio on Mac it's ok, I get my IPA file.
I have a Distribution configuration setup that I use. On either Mac or Win my IPA is created in the "\bin\iPhone\Distribution" folder. For my configuration, under "iOS IPA Options", I have the option checked for: "Build ad-hoc/enterprise package (IPA)". Are you a registered Enterprise Apple developer? You may need to research if that is required or not. I also assume you have a the Xamarin.iOS Business license too?

How to create framework from Xcode 4 project?

I want to use CHDataStructures as framework: https://github.com/davedelong/CHDataStructures. However there is no binary of the project.
So I assume I have to build the .a file myself using xcode. How do I do that in xcode 4? I read the documentation but it is very confusing...
Any ideas?
First we'll grab the CHDataStructures project:
git clone https://github.com/davedelong/CHDataStructures.git
Next, open the relevant CHDataStructures xcode project
open CHDataStructures-iOS.xcodeproj
I'll assume you're building for iOS from here on out (and mention what will be different for a mac app). Once xcode is up and running, ensure that iOS Static Library is selected in the scheme drop-down, and then hit run. Once done, xcode has built the binary for you, and you'll be able to find it in Products in the navigator. Open the required binary (for iOS it's the compiled .a binary, for Mac it's the .framework collection).
Finally (expanding on the documentation):
Open the Xcode project for your iOS app.
Add libCHDataStructures.a and the library header files (all the .h header files in the framework subdirectory from the xcode project above) to your project by dragging them to the "Groups & Files" pane of your xcode project.
In the project navigator, select your project
Select your target
Select the 'Build Phases' tab
Open 'Link Binaries With Libraries' expander
Click the '+' button
drag libCHDataStructures.a into the "Link Binary With Libraries" build phase.
Add #import "CHDataStructures.h" where necessary in your code.

Resources