Unable to build application in X-Code6-Beta - ios

I have created a sample project in X-Code 6.0 and Objective-C language selected.
When i'm selecting 'main.storyboard' file, X-code crashes.
And i'm not able to build the application.
See the following error while building sample project.
Have any idea to solve this error?
Thanks in advance..

Related

'Branch.h' file not found Xcode error for Ionic 3 app

When I am trying to build my Ionic 3 app in ios device from Xcode, I am getting the following error.
'Branch.h' file not found
The error appears in file BranchSDK.h inside the Plugins folder of IOS.
There are old threads on Github regarding this error but I am unable to solve it.
Please try following solution:
Please make sure that you are opening xcworkspace instead of xcodeproj.
Please remove the existing SDK integration, start a fresh and make sure to use the latest version. You can follow this link for more details:
https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking-attribution/issues/356
Delete derived data from Xcode as suggested in this link.
Config.xml is an important part of your project configuration, please make sure to cross confirm it from the Branch Dashboard. Please follow our troubleshooting guidelines to make sure you are not missing anything.
In case following solution does not works for you please write to support#branch.io.

Ionic: unable to archive app in xcode8.2.1 but it build successfully

I am new with ionic1 framework. Currently i am working on ionic sidemenu ios app. I have create a share extention its working fine and build my app on iphone but when i archive it gives error
swift compiler error
 'Cordova/CDV.h' file not found
failed to import bridging header '/Users/ht/msbsocial/myApp/platforms/ios/project/Bridging-Header.h'
I am not able to understand how to resolve it. I have searched and tried solutions but no luck. Please help me.
To Archive a app in xcode you need to plug in a device, select it like if you would run the app on it, then you can archive it.
This hasn't been active for a long time, but...maybe this will be helpful to someone who gets the same problem in the future...
I had the same problem(build succeeded but archive failed) when I added an extension plugin(cordova-plugin-call-directory) to my ionic project. I solved the problem by:
select extension under [Targets] >> go to [Build Settings] >> find [Objective-C Bridging Header] >> delete the path value >> clean and then archive

Library not found for -lOAuth

i am trying to run an app which was build on old xcode 5. i want to run that app on new xcode but It gives clang error library not found -lOAuth.
Please help how to fix this error.
Any Help.
Please add that library to general setting of the project

'Cordova/CDVViewController.h' not found when Archiving in Xcode (from Worklight)

I'm suffering this error message when trying to Archive my app prior to submission to the App Store.
The full error is:
In file included from /Users/Kevin/Documents/workspace/SongLink2/apps/SLPhone/iphone/native/Classes/CDVMainViewController.m:14:
In file included from Classes/CDVMainViewController.h:15:
/Users/Kevin/Documents/workspace/SongLink2/apps/SLPhone/iphone/native/WorklightSDK/include/MainViewController.h:34:9: fatal error: 'Cordova/CDVViewController.h' file not found
#import <Cordova/CDVViewController.h>
^
1 error generated.
I'm using Worklight 6.2 to generate the project having added both Android and iPhone environments). I then switch to Xcode 6 to Run my app. This is successful for Run but fails when I Product->Archive with the error.
I've recently upgraded everything to:
IBM Worklight Studio 6.2.0.00-20140915-1601
Xcode 6.0.1 (6A317)
... but with no success.
I've tried:
Changing Header>Search Paths: but this had no effect. This also suggest reinstalling Cordova but I'm unsure how to do this in a Worklight environment.
Perform Product->Clean with no effect. This discussion also suggested running ./update_cordova_subproject /path/to/your/project but I don't know where Worklight installed cordova to try it.
Many discussions suggest Xcode->Preferences->Locations->Advanced and make sure it's set to Unique... but I'm already set to this value.
similar: but this didn't seem to get resolved
Please help me on my last step to app store submission!
In looking at the Header Search Path(s) I noticed I'd introduced an extra double quote which was causing Xcode some confusion! Once I removed that it worked fine.
Many thanks
I experienced this problem and the solution was a classic XCode mystery incantation to add to your search path:
"$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include"
Found on this website:
http://forum.ionicframework.com/t/cordova-cdvviewcontroller-h-file-not-found-in-xcode-7-1-beta/32232/4

XCode 4.5 can't validate app?

When I try to validate a app I get this error message:
(null): Icon specified in the Info.plist not found under the top level app wrapper: (-19007)
Unable to validate your application. - (null)
Often this is caused by missing/corrupt icon file, but not in this case.
I have opened the archive and found the following line in info.plist file in the IconPath list:
Applications/xxxxx.app/_CodeSignature
This line is not specified in the in-app plist file, and I guess this is the course to the error.
Any idea whats wrong? It's a pretty old project, so something might have changed in xcode.
Any help would be appreciated!
There seem to be a problem with our custom XCode project template. The template dates back to XCode 3.x. New projects created with this template seems to have this problem in XCode 4.5. I moved the files to a new project created with one of Apple's standard project templates and the problem went away.

Resources