Thanks for your replay,it's better with 0.39.0 but when I execute crosswalk-app
build I have this error : ERROR: Failed to build application, with return code:
65, error message: undefined
then i open open XWalkView.xcodeproj and i try to build project with xcode and
i have this error 'GCDWebServer/GCDWebServer.h' file not found
I don't know why is so difficult to use crosswalk with ios? why it's not so
easy like android.
thanks in advance
Le Mardi 31 mai 2016 8h07, "Zhang, Belem" <[email protected]> a écrit :
#yiv9988931443 #yiv9988931443 -- _filtered #yiv9988931443
{font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv9988931443
{font-family:SimSun;panose-1:2 1 6 0 3 1 1 1 1 1;} _filtered #yiv9988931443
{panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv9988931443
{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv9988931443
{panose-1:2 1 6 0 3 1 1 1 1 1;}#yiv9988931443 #yiv9988931443
p.yiv9988931443MsoNormal, #yiv9988931443 li.yiv9988931443MsoNormal,
#yiv9988931443 div.yiv9988931443MsoNormal
{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv9988931443 a:link,
#yiv9988931443 span.yiv9988931443MsoHyperlink
{color:blue;text-decoration:underline;}#yiv9988931443 a:visited, #yiv9988931443
span.yiv9988931443MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}#yiv9988931443
p.yiv9988931443msonormal, #yiv9988931443 li.yiv9988931443msonormal,
#yiv9988931443 div.yiv9988931443msonormal
{margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv9988931443
p.yiv9988931443msochpdefault, #yiv9988931443 li.yiv9988931443msochpdefault,
#yiv9988931443 div.yiv9988931443msochpdefault
{margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv9988931443
span.yiv9988931443msohyperlink {}#yiv9988931443
span.yiv9988931443msohyperlinkfollowed {}#yiv9988931443
span.yiv9988931443emailstyle17 {}#yiv9988931443 p.yiv9988931443msonormal1,
#yiv9988931443 li.yiv9988931443msonormal1, #yiv9988931443
div.yiv9988931443msonormal1
{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv9988931443
span.yiv9988931443msohyperlink1
{color:#0563C1;text-decoration:underline;}#yiv9988931443
span.yiv9988931443msohyperlinkfollowed1
{color:#954F72;text-decoration:underline;}#yiv9988931443
span.yiv9988931443emailstyle171 {color:#1F497D;}#yiv9988931443
p.yiv9988931443msochpdefault1, #yiv9988931443 li.yiv9988931443msochpdefault1,
#yiv9988931443 div.yiv9988931443msochpdefault1
{margin-right:0in;margin-left:0in;font-size:10.0pt;}#yiv9988931443
span.yiv9988931443EmailStyle27 {color:#1F497D;}#yiv9988931443
.yiv9988931443MsoChpDefault {font-size:10.0pt;} _filtered #yiv9988931443
{margin:1.0in 1.0in 1.0in 1.0in;}#yiv9988931443 div.yiv9988931443WordSection1
{}#yiv9988931443 Hi, Please check your cocoapods version. Version 0.39.0
should work. To check the cocoapods version:
$ pod –version Our QA encountered this issue when update cocoapods version
is 1.0.0. To install the specific version of cocoapods
$ sudo gem install cocoapods –v 0.39.0 BR Belem From: rejeb zorgani
[mailto:[email protected]]
Sent: Monday, May 30, 2016 6:48 PM
To: Zhang, Belem <[email protected]>;
[email protected]
Subject: Re: [Crosswalk-help] please help : crosswalk webview IOS Hello,
thanks for your answer, but I have this error when I try to create my project
with crosswalk-app crosswalk-app create org.com.test + Copying app
template from ...node_modules/crosswalk-app-tools/app-template + Loading
'ios' platform backend + Clone project [done] Cloned. *** ERROR:
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin15/rbconfig.rb:213:
warning: Insecure world writable dir /Users/user/bin/Sencha/Cmd/6.1.2.15 in
PATH, mode 040777 Analyzing dependencies [!] The dependency `crosswalk-ios
(from `../`)` is not used in any concrete target. + Logfiles at
/var/folders/yg/wnmtnpr52yv7zfffrkgffj4h0000gn/T/crosswalk-app-tools-org.com.test
Thanks in advance Le Lundi 30 mai 2016 4h45, "Zhang, Belem"
<[email protected]> a écrit : Hi, We supportcordova plugins but don’t
support cordova plugin add cordova-plugin-crosswak-webviewfor iOS platform,
please followhttps://crosswalk-project.org/documentation/ios.html to create
Crosswalk for iOS apps and add Cordova Plugin APIs. BR Belem From:
Crosswalk-help [mailto:[email protected]]On
Behalf Of rejeb zorgani
Sent: Monday, May 30, 2016 4:01 AM
To: [email protected]
Subject: [Crosswalk-help] please help : crosswalk webview IOS Hello, any
person arrive to add crosswalk webview in ios with objective c ? for a while I
try but without results. all my steps cordova create PocIOS com.xyz.pocios
PocIOS cordova platform add android cordova platform add ios cordova plugin add
cordova-plugin-crosswak-webview I add some lines inside MainViewController.h
#import <WebKit/WebKit.h> #import <UIKit/UIKit.h> @interface
MainViewController : CDVViewController <WKScriptMessageHandler,
WKScriptMessageHandler, WKNavigationDelegate, WKUIDelegate> { IBOutlet
WKWebView *myWebview; } I add some other lines inside MainViewController.m
- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup
after loading the view from its nib. WKWebViewConfiguration
*theConfiguration = [[WKWebViewConfiguration alloc] init];
WKUserContentController *controller = [[WKUserContentController alloc] init];
[controller addScriptMessageHandler:self name:@"IosPoc"];
theConfiguration.userContentController = controller; //WKWebView
*myWebview = [[WKWebView alloc] initWithFrame:self.view.bounds
configuration:theConfiguration]; NSURL *myURL = [NSURL
URLWithString:@"https://www.google.com/"]; NSURLRequest *myRequest =
[NSURLRequest requestWithURL:myURL]; [myWebview loadRequest:myRequest];
[self.view addSubview:myWebview]; } -(void)webView:(WKWebView *)webView
didStartProvisionalNavigation: (WKNavigation *)navigation { } -
(void)webView:(WKWebView *)webView didFinishNavigation: (WKNavigation
*)navigation{ } -(void)webView:(WKWebView *)webView didFailNavigation:
(WKNavigation *)navigation withError:(NSError *)error { } -
(void)userContentController:(WKUserContentController *)userContentController
didReceiveScriptMessage:(WKScriptMessage *)message { NSDictionary
*sentData = (NSDictionary *)message.body; NSString *messageString =
sentData[@"message"]; NSLog(@"Message received: %@", messageString); }
For information, I don't have error message or something, everything is ok.
Then I build my project cordova build ios navigator.userAgent "Mozilla/5.0
(iPhone; CPU iPhone OS 9_3 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like
Gecko) Mobile/13E230 (140227893095872)" any help ? thanks in advance
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help