Menu
  • HOME
  • TAGS

Can't upload phone gap to app store - Error itms-90035 - Xcode

Tag: xcode,cordova,itunes

I'm well aware that there many similar question in SO to similar issues, but none of the solution helped, and also the error msg I get is different enter image description here

Background: i've been submitting successfully many apps before (with much struggle...), my MAC crashed and I've reinstalled it.

I had to revoke my Distribution Certificate, I've downloaded and install the new certificate.

I've created a new app, and a new App Id + Distribution Provision certificate.

Download and install in xcode

In Build Settings > Code Signing I choose the Distribution Provision certificate i've created and downloaded.

One strange thing is that it shows 'iphone distribution' while it was normally showing 'IOS distribution'

Other than this all goes smoothly but than when I submit to app store it gets stuck for 10 minuets and than I get this error.

Please help...

NOTEs:

  1. in other thread the error specified a specific file, the error I get doesn't specified any file

  2. the solution in other thread was to delete .sh files from target, I don't have any .sh in my target. I tried to delete other files that seems to be not needed from the target - it didn't help

Edit:

I tried to recreate everything from scratch - I delete all keys/certificates from key chain, I've revoked Distribution certificates, created a new App Id, create a new Provisioning profile, created a new App in itune.

Edit: I updated my Cordoba and Xcode, I created a new Cordova app from scratch, Upload it to itune - upload successful!!!

I copied the www dir from my original project to the new project - receive the previous itms-90035 error

So there is some files in the www folder that causing this, but how can I find out which of my hundreds is causing this? other than trying to upload every possible sub-group of these files - which will take about a year.

Best How To :

I found an old build.sh file in my www (from ancient phonegap time), deleted it and WALLA - problem solved.

Coco2dx - Changing To Background Image

ios,iphone,xcode,xcode6,ios-simulator

Create and add a CCSprite: CCSprite *bg = [CCSprite spriteWithFile:@"bg.png"]; bg.tag = 1; bg.anchorPoint = CGPointMake(0, 0); [self addChild:bg]; ...

Objective C - bold and change string text size for drawing text onto pdf

objective-c,xcode,pdf,size,bold

Solved it by making a separate method as below (I used + since I have this inside an NSObject and is a class method rather than in a UIViewController): +(void)addText:(NSString*)text withFrame:(CGRect)frame withFont:(UIFont*)font; { [text drawInRect:frame withFont:font]; } Outside the method, declaring inputs and calling it: UIFont *font = [UIFont fontWithName:@Helvetica-Bold"...

How do I make is so the entered number is mulitplied by the slider number

xcode,swift

Thats because your slider.value returns a Float. You are trying to convert the result of it but you need to convert just the slider.value to Int to multiply it by numbers which is an Int. Try like this: Note: As mentioned by Josh you need also to unwrap toInt() optional...

Why label still append 0 once press clear button “C”?

xcode,swift

Just add this condition into displayHistory() method : if history.text == "0" { history.text = historyLabel }else { history.text = historyLabel + history.text! } ...

Swift error: Could not find an overload for '<' that accepts the supplied arguments

ios,xcode,swift

Try this : if count(password) < 5 { ... } ...

How can I display the time offset (years, months, weeks, …) from two dates at my labels?

ios,xcode,swift

I have created a new extension to output the offset components as string for you: import UIKit extension NSDate { func yearsFrom(date:NSDate) -> Int{ return NSCalendar.currentCalendar().components(.CalendarUnitYear, fromDate: date, toDate: self, options: nil).year } func monthsFrom(date:NSDate) -> Int{ return NSCalendar.currentCalendar().components(.CalendarUnitMonth, fromDate: date, toDate: self, options: nil).month } func weeksFrom(date:NSDate) -> Int{...

Unable to display SQLite data as listview using phonegap

javascript,html,sqlite,cordova

You made a mistake: you used result instead of res: tx.executeSql("SELECT (date) FROM time", [], function (tx, res) { var len = result.rows.length; // <- should be res if (len > 0) { for (var i = 0; i < len; i++) { var a = results.rows.item(i)['date']; // <- should...

How to download a library dependence on gradle for external use?

cordova,android-studio,gradle,android-gradle,cordova-plugins

What you're looking for is an aar file. You can copy this file to lib folder with the following script: apply plugin: 'java' repositories { mavenCentral() } dependencies { compile 'io.filepicker:filepicker-android:[email protected]' } task copyLibs(type: Copy) { from configurations.compile into 'lib' } ...

UIView within a container view not showing

ios,xcode,swift

All you have to do is Set the label ":" in centre vertical and horizontally and align all the constraints according to it . align the blue view giving it top , height , width and centre X to the label ":" and all other views giving them top and...

Programmatically enable GPS of device when application opens in cordova

angularjs,cordova,ionic,cordova-plugins

You could check the error code in PositionError parameter of geolocationError in your call to getCurrentPosition. I am guessing that it will be PositionError.PERMISSION_DENIED when gps is not enabled, and PositionError.POSITION_UNAVAILABLE or PositionError.TIMEOUT when gps is enabled but there are other issues. Note that this is platform dependent. You would...

Swift timer in milliseconds

xcode,swift

As Martin says in his comment, timers have a resolution of 50-100 ms (0.02 to 0.1 seconds). Trying to run a timer with an interval shorter than that will not give reliable results. Also, timers are not realtime. They depend on the run loop they are attached to, and if...

Xcode - Colours look different but should be the same

ios,xcode,hex,uicolor

Because of the blurring effect on a translucent UINavigationBar, the color you set is not exactly how it will be displayed on screen. You can either set your navigation bar's translucent property to NO: self.navigationController.navigationBar.translucent = NO; ... or use this handy calculator to work out the correct input color...

SKEmitterNode particles lag at start

ios,xcode,swift,particles,skemitternode

The solution was setting the advanceSimulationTime to exactly 1.0 sec. I'm not entirely sure why this is the case, but I suppose that the creation "animation" takes up this time. Anyway, case closed and thanks for the help to everyone, especially lchamp since he suggested the solution....

Getting video from Asset Catalog using On Demand ressources

ios,xcode,xcode7,ios9,asset-catalog

I think its not possible to use Asset Catalog for video stuff, Its simplify management of images. Apple Documentation Use asset catalogs to simplify management of images that are used by your app as part of its user interface. An asset catalog can include: Image sets: Used for most types...

Xcode UIWebView not changing page with changed URL

ios,objective-c,xcode,uiwebview

[self.webView reload] - will reload the current page. This is probably happening before the loadRequest has finished. Try removing this line. Also, @joern's comment is correct; the 'event' is the user making a pan gesture. Lose the timer....

How to always show debug window in XCode6

xcode,xcode6

If Paul moves his comment to an answer I'll delete mine and upvote his. Here was a screenshot I was preparing when he got his comment in: You want the "show" issue navigator item checked to on....

Xcode + AWS Integration Apple Mach-O Linker Error

ios,xcode,amazon-web-services

Are you importing the AWS Mobile SDK for iOS using both the frameworks and CocoaPods? You cannot import the SDK twice, and that is why you are getting duplicate symbols errors. You need to pick one of them and remove the other one to remove the errors.

Image Map Area Highlight and Zooming with iScroll 4

javascript,cordova,iscroll,imagemapster

I got figured it out. For someone like me, here is my solution. I used imagemapster.js for highlighting map areas. But I applied imagemapster first and then I grab those whole element and then applied iScroll(version 4) for zooming. First, i was doing backward, that's why I can't zoom in...

How to show icons in $cordovaActionSheet plugin buttonLabels in ionic framework?

angularjs,cordova,ionic-framework,cordova-plugins

I see you have tagged ionic-framework as well. If you are using Ionic you can make use of $ionicActionSheet instead of the $cordovaActionSheet. See this doc. With the $ionicActionSheet it is no problem adding images: angular.module('mySuperApp', ['ionic']) .controller(function($scope, $ionicActionSheet, $timeout) { // Triggered on a button click, or some other...

Swift 2 : NSData(contentsOfURL:url) returning nil

ios,json,xcode,foundation,swift2

I would expect it to work in the terminal, since what you're seeing here is likely not a bug in Swift or Cocoa Touch, but the side effects of a new feature in iOS 9 called App Transport Security. What this means is that by default, iOS will not permit...

control may reach end of non-void function xcode

c++,xcode,visual-studio-2012

When writing something like Type func() { ... } The compiler expect you to return an object of type Type in every paths of the function, which is not what you do here. Or your LOG function return an A object, which I doubt, and you should write return LOG(),...

UIWebView path depends on previous pressed button Xcode

ios,objective-c,iphone,xcode,uiviewcontroller

in your ClassA.m - (IBAction)button1:(UIButton *)sender{ path=[[NSBundle mainBundle] pathForResource:@"filename" ofType:@"pdf"]; [self performSegueWithIdentifier:@"yourIdentifierName" sender:self]; } - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { if([segue.identifier isEqualToString:@"yourIdentifierName"]) { classB *clsB =segue.destinationViewController; clsB.typeofSelect=path; } } in your class B.h @property (nonatomic, weak) NSString *typeofSelect; in your Class B.m @synthesize typeofSelect;...

Build error after I localized Info.plist

ios,objective-c,xcode,swift,localization

Roll back those changes, add a InfoPlist.strings file to your project, localize it and then add the needed keys to it. For example: "CFBundleDisplayName" = "App display name"; "CFBundleName" = "App bundle name"; ...

fabric.js resize canvas to fit screen

javascript,android,cordova,canvas,fabricjs

1. Use css to set your right resolution for canvas: var canvas = document.getElementById("canvas"), ctx = canvas.getContext("2d"); canvas.width = 800; canvas.height = 600; css: /* media query 1 */ #canvas{ width: 400px; height: 250px; } /* media query 2 */ #canvas{ width: 200px; height: 120px; } pros: All the resolution...

error “The connection to the server was unsuccessful. (file:///android_asset/www/index.html)” in codovar and jqury

android,jquery,cordova,jquery-mobile

I recommend first, to check your config.xml there is a section where you can specify the start page of your app. It must be ponting to "index.html" and I think your page is called "Login.html" (Just a guess) The section looks like this <content src="your_page.html" /> just change that section...

AutoLayout complains about constraints for 2 UITextFields with no borders

ios,xcode,swift,autolayout,nslayoutconstraint

"Add Missing Constraints" is not always a good idea to add constraints..rather you should always prefer to add constraints manually... Here is the image for your UI...I used wAnyhAny layout as it is good practice for add constraints for universal devices... I used simply width constraint for textfield, rather you...

canEvaluatePolicy Extra argument 'error' in call Swift Xcode 7

ios,xcode,ios8,xcode7

As mentioned in Using Swift with Cocoa and Objective-C, all Objective-C methods that use NSError to return an error object will now throw when called from Swift 2.0, so you need to use: do { try method() } catch let error as NSError { reportError(error) } Removing the reference to...

Put Swipe Gesture over UIWebView to Get Scroll Direction in IOS

ios,xcode,scroll,uiwebview,swipe

This is how I implemented swipe gesture in UIWebView. Add <UIGestureRecognizerDelegate> protocol to ViewController.h In ViewDidLoad Method add the following code: UISwipeGestureRecognizer * swipeGestureDown = [[UISwipeGestureRecognizer alloc]initWithTarget:self action:@selector(swipeDown)]; swipeGestureDown.numberOfTouchesRequired = 1; swipeGestureDown.direction = UISwipeGestureRecognizerDirectionDown; swipeGestureDown.delegate = self; [self.webView addGestureRecognizer:swipeGestureDown]; Add Delegate method in ViewController.m :...

__createApplicationIconFromImage_block_invoke: Error: unable to create icon mask image from image named “AppIconMask.png” at scale 2.0

ios,objective-c,cordova,phonegap-plugins

This solved me issue. It is working fine now after following below steps https://discussions.apple.com/thread/6742087?start=0&tstart=0 To troubleshoot this issue where your iPhone is unresponsive, please follow the steps outlined below: 1. If a single application is not responding or stops responding when it opens, you can force it to close. 2....

change Auto Layout dynamically

ios,iphone,xcode,storyboard,autolayout

Just give top, left , right, height and equal width constraints to all label.... ...

UITapGestureRecognizer sender is the gesture, not the ui object

ios,xcode,swift,uigesturerecognizer

You can get a reference to the view the gesture is added to via its view property. In this case you are adding it to the button so the view property would return you you the button. let button = sender.view as? UIButton ...

Turn a switch Off or On on the basis of another switch state

ios,xcode,uiswitch

first of all you need to create IBOutlet of both UISwitch in your header .h file @property (strong, nonatomic) IBOutlet UISwitch *isMale; @property (strong, nonatomic) IBOutlet UISwitch *isFemale; then in your IBAction do as follow. - (IBAction)isMale:(id)sender { if ([sender isOn]) { [_isFemale setOn:NO animated:YES]; } else { // do...

How do you work with views in MainMenu.xib?

objective-c,xcode,osx,cocoa

So the default is that your main application window is an outlet in the app delegate. You should keep MainMenu.xib's owner as the app delegate. A common alternative, if you are creating your own custom window controller, is to create a property in the AppDelegate of type CustomWindowController, then in...

Running app from console gets CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.1'

xcode,xctool

After reading several posts at stackoverflow and several post at Github, I found this one where I found a solution at the end. Therefore, my solution was: xctool/xctool.sh -workspace Supermaxi.xcworkspace -scheme Supermaxi build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO It worked for me....

Chance of a conditional occurring in Swift: Xcode

xcode,swift,if-statement,conditional,percentage

You can use arc4random_uniform to create a read only computed property to generate a random number and return a boolean value based on its result. If the number generated it is equal to 1 it will return true, if it is equal to 0 it will return false. Combined with...

Xcode referencing old copies of files

ios,objective-c,xcode,file-management

Xcode does not keep the source files, it just points to them. Most likely you are editing a copy Xcode is not using. In Xcode check the location of the file it is using: ...

How to use existing SQLite database in swift?

ios,database,xcode,sqlite,swift

First add libsqlite3.dylib to your Xcode project (in project settings/Build Phases/Link Binary with Libraries), then use something like fmdb, it makes dealing with SQLite a lot easier. It's written in Objective-C but can be used in a Swift project, too. Then you could write a DatabaseManager class, for example... import...

jquery mobile all the data attribute references does not work

jquery,html,css,cordova,jquery-mobile

In reference to your fiddle-link (https://jsfiddle.net/f0eurafv/1/): The problem is that you have bound a click-function to your <h2>-tags in which you manually fadeIn/fadeOut your different pages. In this case jQuery-mobile will not do the work for you (switching to the other page) and as a side effect it will not...

New warnings in iOS9

xcode,ios9

You library was compiled without bitcode but the bitcode option is enabled in your project settings. Say NO to Enable Bitcode in your target Build Settings and the Library Build Settings to remove the warnings. ...

Cordova Inappbrowser - window.history.back and forward won't work inside executescript function

javascript,jquery,cordova,inappbrowser

Never mind. I got used to how I did my other buttons where i had to use functions from cordova plugins. That is why i put in in a callback of an executescript within the callback of another execute script which calls a file: 'externaljavascriptfile.js' I just realized, I didn't...

Can't figure out coder aDecoder: NSCoder

ios,xcode,swift

Your custom initializer cannot initialize the immutable property. If you want it to be immutable then, instead of creating a custom initializer, just initialize in one of the required or designated initializer. Like this, class AddBook: UIViewController { @IBOutlet weak var bookAuthor: UITextField! @IBOutlet weak var bookTitle: UITextField! let bookStore:...

How can I fix crash when tap to select row after scrolling the tableview?

ios,xcode,swift,uitableview,tableviewcell

Because you are using reusable cells when you try to select a cell that is not in the screen anymore the app will crash as the cell is no long exist in memory, try this: if let lastCell = self.diceFaceTable.cellForRowAtIndexPath(lastIndexPath) as! TableViewCell{ lastCell.checkImg.image = UIImage(named: "uncheck") } //update the data...

AFNetworking file upload

ios,iphone,xcode

Some devices not recording sound correctly, but it is workng on simulator not working on real devices, check your code first then try again

type casting in objective-c, (NSInteger) VS. integerValue

ios,xcode,casting

NSNumber is a class; NSInteger is just a typedef of long, which is a primitive type. dic[@"count"] is a pointer, which means that dic[@"count"] holds an address that points to the NSNumber instance. NSNumber has a method called integerValue which returns an NSInteger as the underlying value that the NSNumber...

When trying to get dynamically created UILabel to wrap, text disappears

xcode,swift,word-wrap,cgrect,sizetofit

Changing the position of sizeToFit() after assigning text did the job as suggested by Bartlomiej above

Transferring an Xcode project to another computer with all files/frameworks

ios,xcode,frameworks,transfer,projects

Try transferring everything from plists to the storyboard. I did this with a friend of mine and it only took about 20 minutes for the code to build and run successfully on his own laptop. the biggest issue is going to be transferring the files that Xcode is going to...

PFUser not unwrapped - swift

ios,xcode,swift

Here is explanation: What is an "unwrapped value" in Swift? PFFacebookUtils.logInWithPermissions(["public_profile", "user_about_me", "user_birthday"], block: { user, error in if user == nil { println("the user canceled fb login") //add uialert return } //new user else if user!.isNew { println("user singed up through FB") //get information from fb then save to...

Command-Line Testing Using Cocoa Touch

xcode,cocoa,kif

After checking several options, I have decided to use xctool because this is a recommended tool when the tests have been done using KIF. At the beginning I had some trouble trying to run the test, but after reading other posts I have use the following commands: For running all...

TableViewCell overlaps text

ios,xcode,swift,uitableview,overlap

I can fix the problem. In the storyboard, the label have unchacked "Clears Graphics Context". I checked and for now it solved! Thanks for the help!

Read plist inside ~/Library/Preferences/

objective-c,xcode,osx

You need to use NSString method: stringByExpandingTildeInPath to expand the ~ into the full path. NSString *resPath = [@"~/Library/Preferences/" stringByExpandingTildeInPath]; NSLog(@"resPath: %@", resPath); Output: resPath: /Volumes/User/me/Library/Preferences ...