how to test generated iphone application on windows [closed] - ibm-mobilefirst

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'm developing a shopping project using worklight on windows eclipse Juno.
i'm able to run the generated android project by installing android sdk,ADT.
my question is how to run my generated iphone environment application on windows.?

Like Idan Adar already said, Xcode runs only on Mac OS X.
Due to the fact that you need it just for testing purposes, you could use services like macincloud so that you can use Xcode without buying hardware. They host Mac OS X machines with preinstalled Xcode environment and Dropbox so you could move your Xcode project to this machine and test your app. There is also an offer to try this service out so maybe that trial period is sufficient for you.

Worklight Studio only generates the Xcode project. In order to run this project, you must use Xcode. Xcode is an IDE developed by Apple and it runs ONLY on Apple's Mac machines. You cannot use Windows to run the Xcode project.
Please do not skip training modules:
IBM Worklight Getting Started training modules
Get a Mac. Create an Apple ID, login to the Mac App Store and download & install Xcode.
Only then can you open the generated Xcode project to test your application.
Other services will not help if you intend on moving to Production as you will still need to get a Mac in order to produce the .ipa file that you are required to upload to the iOS App Store.

Related

IBM Worklight - How to switch back to version 6.1 from 6.2 for MaC OS? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have downloaded 6.2.0 Worklight version i.e. latest one from market place for developing iOS app. But now I came to know that my server runs on 6.1.0 version on Windows 7 machine and furthur deployment of war would be on 6.1.0 only.
Due to this, I am getting "Unresponsive host". I want to switch back to 6.1.0 version again and need zip file of WK 6.1.0 for MAC OS only. please help me out by providing link for the same?
Easiest would be to search before asking a question... :)
IBM Worklight - Where to find previous releases
IBM Worklight 6.1 Developer edition Download Link
Note that if you are an IBM customer or business partner, you should use the latest available from IBM Fix Center, for both your server and studio installations.

Can I generate Eclipse / Xcode Projects Using Mono for Android or MonoTouch repectively? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am planning to buy MonoTouch and Mono for Android, but before I do I just want to know whether I can generate complete Xcode/Eclipse Projects from Mono the way we can do it in Titanium Studio. When we build the Titanium project it generates Java Projects for Ecplise and Objective-C code for Xcode.
Is the same process available in Mono? So that when I run into any limitations I can continue working on the project as a native project.
There are no supported ways of generating Eclipse / Xcode projects with Mono for Android / MonoTouch.
In any case it's not something you'd want to do:
An Eclipse project for Mono for Android would be very little Java code, just a bunch of binary files compiled / bundled together by build commands in project file.
MonoTouch would spit out code, but it would be assembly, not ObjectiveC (and quite a few binary files too). I can hardly see how that would be interesting...

Choose a destination with a supported architecture in order to run on this device [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
my Xcode is Version 4.4.1
The project worked perfect before updating to this newer version, but now it stopped working
I have had the same issue when making multiple targets. My issue was that I had to change my Product Name under Packaging.
In each target project > Build Settings > Packaging -> Product Name
I wanted to install my old application on iPad. I updated the my XCode from 4.3.2 to XCode 4.5 and having this problem.I tried searched alot finally got this solution.
In your target settings (not project settings), please check the following settings there
Valid Architectures : armv7
In my case, there was arm6 which i removed from it and it works.
Hope this helps :)
Had the same issue today.
If you have added any file check if you didn't also add info.plist with the files. Remove that and it will work.
In your Info.plist remove a string "Required device capabilities armv7"
I had this same error message thrown at me today.
I was working in a workspace with a few iOS App projects and a Framework project (using https://github.com/kstenerud/iOS-Universal-Framework). I had just added that Framework project and tested things out in the iPhone emulator, but when I went to just fire up any of the apps on my iPhone, they all threw this error (mentionned above).
Turns out I fixed the problem by just removing the Framework project from the workspace. I could use the framework from within an iOS app without trouble, but the framework project could live in the same workspace for some reason.
Hope this helps anyone in my situation!
I just ran into this issue I had added the Info.plist from the Facebook SDK 3.5 to my Xcode project. As soon as I removed the facebook Into.plist file everything worked.
In your Info.plist remove a string "Required device capabilities opengles-1"

aws sdk for mac os x application development [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I need to develop an application for MAC OS X, which will be uploading the chosen files to amazon web services. But for that I need aws sdk for mac. I haven't found any on the web. Is it possible to modify the AWS SDK for iOS so it can be used for Mac?
Also, the AWS SDK documentation doesn't explain how to upload files to S3. Does anyone have an example of how to do this?
Thanks
I've created a fork of the AWS iOS SDK which can be built and used for Mac OS X development. Check it out: https://github.com/amberdixon/aws-sdk-ios. In the readme, I've included instructions on how to build the Mac OS X version of the AWS iOS SDK framework. The tomandersen repo appears to use a much older version of the iOS SDK, the version I've created is a bit more current.
Judging by a discussion on this topic in the AWS Developer Forums, there doesn't seem to be an official AWS SDK for MacOS X yet, but the iOS version is close to useable. One contributor to that thread has posted a modified version that allegedly works on MacOS X for at least some of the services. I don't have any personal experience with it, but it seems worth a look.
Following on a previous answer, I forked and modified v2.2 of the AWS SDK for iOS so it now builds for Mac OS X (tested in Yosemite 10.10.3): https://github.com/johnabender/aws-sdk-ios Also checkout the tvos branch!
They provide a command-line tool to package the SDK components as .framework objects. Run Scripts/SdkPackage.sh AWSS3, and it will build the S3 framework and any dependencies. Run Scripts/Package.sh to build all the frameworks. The built frameworks wind up in the root/build of your AWS SDK directory if you build them all.
But yikes, their documentation is awful. For example, if you want to use an access key instead of a Cognito identity, you have to go through the code and figure out how (at least it's possible!). Want to list an S3 bucket's contents? Good luck. Most of the required classes aren't even listed in the documentation. And you'll have to include libz.dylib in your project to get it to build with the S3 SDK - they don't tell you that, either.
Anyway, here's some code to help anyone get started:
// This is helpful, also basically undocumented.
AWSLogger.defaultLogger().logLevel = .Verbose
let credentials = AWSStaticCredentialsProvider(accessKey: accessKeyId, secretKey: secretAccessKey)
let config = AWSServiceConfiguration(region: AWSRegionType.USWest2, credentialsProvider: credentials)
let listRequest = AWSS3ListObjectsRequest()
listRequest.bucket = "mybucket"
listRequest.prefix = "folder/"
// The key name allows you to set up multiple, global S3 configurations
// -- in case you'd ever want to do that, in violation of OO programming principles.
// But there's no way to make S3 requests using only a local config.
AWSS3.registerS3WithConfiguration(config, forKey: "s3")
AWSS3.S3ForKey("s3").listObjects(listRequest).continueWithBlock { (task: AWSTask!) -> AnyObject! in
if task.error != nil {
NSLog("error %#", task.error)
}
if task.result != nil {
NSLog("finished %#", task.result!.description)
}
return nil
}
As Caleb mentioned: There is no official AWS SDK for OS X.
The easiest way to accomplish S3 file upload is using ASIHTTPRequest. It's a wrapper for CFNetwork, which is easy to use. A drawback is no ARC support, so you have to handle memory management on your own …
I needed the AWS SDK for Mac to support prepopulating a db for my iOS app and was amazed that it didn't exist (considering how trivial it would be to produce as would be so similar to the iOS version). I downloaded the github MacOS SDKs mentioned by Amber above and the one mentioned in the AWS link above. However neither built straight off so I decided to modify the iOS SDK myself so I could understand what the process was.
Here are the steps that I went through to get DynamoDB working in XCode 5.0.2 on MacOS 10.9:
1.Download the iOS AWS 1.7.0 SDK, duplicate the folder and rename the folder to aws-MacOS-sdk-1.7.0 (a small amount of conditional compilation and if/else in the build script would do away with this step)
2.Modify src/Scripts/Framework.sh - this is the build tool for all the AWS frameworks
- Replace all four xcodebuild lines (30-39) with:
`xcodebuild -configuration Release -project "${PROJECT}.xcodeproj" -target "${PROJECT}" -sdk macosx10.9`
Replace the lipo line (82-87) with:
FRAMEWORK_INPUT_MAC_FILES="build/Release/lib${PROJECT}.a"
cp "$FRAMEWORK_INPUT_MAC_FILES" "$FRAMEWORK_DIR/Versions/Current/$FRAMEWORK_NAME"
3.In the src folder there is an XCode project per framework, for each one you need:
Change Project's Base SDK to latest OS X
Change FTarget's Framework's SDKROOT to macosx10.9
Ensure current scheme is set to Framework and build
Fix compiler errors (I had a bunch of problems to do with #property, had to replace <UIKit/UIKit.h> with <Cocoa/Cocoa.h> here and there, and [[UIDevice currentDevice] systemName] with [[NSProcessInfo processInfo] operatingSystemVersionString]
To get DynamoDB working I had to build four frameworks - it was fairly painless

PDF reader for symbian based mobile [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have Nokia 5233 mobile which has Symbian OS. I want to read PDF files on my mobile but there's no PDF reader available for this model. So I have decided to write my own PDF reader for my mobile but I have no clue where and how to start.
I would like to know
1) If there is any existing PDF reader (FREE) for symbian OS based mobiles?
2) Is there any PDF library / API which can help in writing PDF reader application?
3) Which library or API or technology is used by other open source PDF readers like CutePDF writer?
Please enlighten with your valuable inputs !!!
alternatereader. alternatereader is the opensource pdf reader for symbian hosted at sourcefourge. Here is the link http://www.sourceforge.net/projects/alternatedjvu/
it is very hard to find those kind of software for symbian. most of them comes with adobe reader trial edition. so the user must PAY for read pdf. well, that's odd, since most of the modern mobile OS comes with a native pdf reader.
take a look at http://www.mbrainsoftware.com/S60_3rd/Pdf/Pdf.htm I've tried the S60 5th edition version and it worked great for me.
actually, I believe that if you search for Poppler and DjvuLibre you will learn something about this subject.
You could try to install AlternateReader, from
http://sourceforge.net/projects/alternatedjvu/.
When I first tried installing AR on a Nokia 5230, equipped with Symbian S60,
I had some problems.
After I had download it and unpack the archive, I tried to install the 9.4 version
(which is the version of my Symbian OS). But I received a "expired certificate"
message.
Some notices about the actual state of that software.
Be aware that software doesn't work as it is, because of an "expired certificate" error
thrown while you're trying to install it.
To get rid of this issue, you have to self-sign the software before you try to install
it on your Symbian smartphone.
In this post
http://sourceforge.net/projects/alternatedjvu/forums/forum/1106481/topic/5173246
is explained in details what operations you have to do.
Be aware that the Symbian SDK archive you should download is around 800 MB, and requires 3 GB of disk space, uncompressed.
After you've done that, you could try to install AR, by launching the file suited for
your Symbian version.
If still any error occurs, you can follow the instructions provided in
http://sourceforge.net/projects/alternatedjvu/forums/forum/1106482/topic/4718015,
so you should be able to install AlternateReader on your smartphone, finally.