Build amazing iOS and Android applications for your WordPress website for free!
$ npm start
wordpress-hybrid-client@3.0.0-alpha03 start C:\Development\afrokizzmeApp
npm run ionic:start
npm WARN invalid config loglevel="notice"
wordpress-hybrid-client@3.0.0-alpha03 ionic:start C:\Development\afrokizzmeApp
ionic serve
Starting app-scripts server: --address 0.0.0.0 --port 8100 --livereload-port 35729 --dev-logger-port 53703 --nobrowser - Ctrl+C to cancel
[17:50:34] watch started ...
[17:50:34] build dev started ...
[17:50:34] clean started ...
[17:50:34] clean finished in less than 1 ms
[17:50:34] copy started ...
[17:50:34] deeplinks started ...
[17:50:34] deeplinks finished in 15 ms
[17:50:34] transpile started ...
[17:50:40] typescript: C:/Development/afrokizzmeApp/src/i18n/index.ts, line: 2
Cannot find name 'require'.
L1: try {
L2: require.context("./", true, /^\.\/.*\.cson$/)
L3: } catch (error) {
[17:50:40] typescript: C:/Development/afrokizzmeApp/src/providers/config.ts, line: 8
Cannot find name 'require'.
L8: const configOverwrite = require('../../config/config.cson');
[17:50:40] typescript: C:/Development/afrokizzmeApp/src/providers/menu.ts, line: 2
Cannot find name 'require'.
L1: import { Injectable } from '@angular/core';
L2: const menu = require('../../config/menu.json');
[17:50:40] typescript: C:/Development/afrokizzmeApp/src/reducers/bookmarks.spec.ts, line: 10
Cannot find name 'describe'.
L10: describe('bookmarksReducer reducer', () => {
L11: it('should return the initial state with UNKNOWN, CLEAN_CACHE and INIT actions', () => {
[17:50:40] typescript: C:/Development/afrokizzmeApp/src/reducers/bookmarks.spec.ts, line: 11
Cannot find name 'it'.
L10: describe('bookmarksReducer reducer', () => {
L11: it('should return the initial state with UNKNOWN, CLEAN_CACHE and INIT actions', () => {
L12: expect(
[17:50:40] typescript: C:/Development/afrokizzmeApp/src/reducers/bookmarks.spec.ts, line: 12
Cannot find name 'expect'.
L11: it('should return the initial state with UNKNOWN, CLEAN_CACHE and INIT actions', () => {
L12: expect(
L13: bookmarksReducer(undefined, { type: 'UNKNOWN' })
[17:50:40] typescript: C:/Development/afrokizzmeApp/src/reducers/bookmarks.spec.ts, line: 15
Cannot find name 'expect'.
L14: ).toEqual(DEFAULT_STATE);
L15: expect(
L16: bookmarksReducer(undefined, { type: CLEAN_CACHE })
[17:50:40] typescript: C:/Development/afrokizzmeApp/src/reducers/bookmarks.spec.ts, line: 18
Cannot find name 'expect'.
L17: ).toEqual(DEFAULT_STATE);
L18: expect(
L19: bookmarksReducer(undefined, { type: INIT })
[17:50:40] typescript: C:/Development/afrokizzmeApp/src/reducers/bookmarks.spec.ts, line: 23
Cannot find name 'it'.
L23: it('should ADD_BOOKMARK/REMOVE_BOOKMARK properly', () => {
L24: const state1 = bookmarksReducer(DEFAULT_STATE, {
[17:50:40] typescript: C:/Development/afrokizzmeApp/src/reducers/bookmarks.spec.ts, line: 34
Cannot find name 'expect'.
L34: expect(state1).toEqual({
L35: 'posts:2585': {
[17:50:40] typescript: C:/Development/afrokizzmeApp/src/reducers/bookmarks.spec.ts, line: 49
Cannot find name 'expect'.
L49: expect(state2).toEqual(DEFAULT_STATE);
L50: });
[17:50:40] typescript: C:/Development/afrokizzmeApp/src/reducers/bookmarks.spec.ts, line: 52
Cannot find name 'it'.
L52: it('should REMOVE_BOOKMARKS properly', () => {
L53: const state1 = bookmarksReducer(DEFAULT_STATE, {
[17:50:40] typescript: C:/Development/afrokizzmeApp/src/reducers/bookmarks.spec.ts, line: 73
Cannot find name 'expect'.
L73: expect(state2).toEqual({
L74: 'posts:1': {
[17:50:40] typescript: C:/Development/afrokizzmeApp/src/reducers/bookmark
Users/ahmet/Library/Developer/Xcode/DerivedData/YourAppName-ezlotygcezmobhcjbuxrsnkhsbvt/Build/Intermediates.noindex/YourAppName.build/Debug-iphonesimulator/YourAppName.build/Objects-normal/x86_64/YourAppName_dependency_info.dat -o /Users/ahmet/Desktop/trial/platforms/ios/build/emulator/YourAppName.app/YourAppName
duplicate symbol _OBJCCLASS$_CDVLogger in:
/Users/ahmet/Library/Developer/Xcode/DerivedData/YourAppName-ezlotygcezmobhcjbuxrsnkhsbvt/Build/Intermediates.noindex/YourAppName.build/Debug-iphonesimulator/YourAppName.build/Objects-normal/x86_64/CDVLogger.o
/Users/ahmet/Desktop/trial/platforms/ios/build/emulator/libCordova.a(CDVLogger.o)
duplicate symbol _OBJCMETACLASS$_CDVLogger in:
/Users/ahmet/Library/Developer/Xcode/DerivedData/YourAppName-ezlotygcezmobhcjbuxrsnkhsbvt/Build/Intermediates.noindex/YourAppName.build/Debug-iphonesimulator/YourAppName.build/Objects-normal/x86_64/CDVLogger.o
/Users/ahmet/Desktop/trial/platforms/ios/build/emulator/libCordova.a(CDVLogger.o)
ld: 2 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
BUILD FAILED
The following build commands failed:
Ld build/emulator/YourAppName.app/YourAppName normal x86_64
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/ahmet/Desktop/trial/platforms/ios/cordova/build-debug.xcconfig,-workspace,YourAppName.xcworkspace,-scheme,YourAppName,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone X,build,CONFIGURATION_BUILD_DIR=/Users/ahmet/Desktop/trial/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/ahmet/Desktop/trial/platforms/ios/build/sharedpch
Ld /Users/ahmet/Library/Developer/Xcode/DerivedData/YourAppName-bwxrptthedixcjcvzwybeliinfmv/Build/Products/Debug-iphonesimulator/YourAppName.app/YourAppName normal x86_64
cd /Users/ahmet/deneme45/platforms/ios
export IPHONEOS_DEPLOYMENT_TARGET=9.1
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk -L/Users/ahmet/Library/Developer/Xcode/DerivedData/YourAppName-bwxrptthedixcjcvzwybeliinfmv/Build/Products/Debug-iphonesimulator -F/Users/ahmet/Library/Developer/Xcode/DerivedData/YourAppName-bwxrptthedixcjcvzwybeliinfmv/Build/Products/Debug-iphonesimulator -filelist /Users/ahmet/Library/Developer/Xcode/DerivedData/YourAppName-bwxrptthedixcjcvzwybeliinfmv/Build/Intermediates.noindex/YourAppName.build/Debug-iphonesimulator/YourAppName.build/Objects-normal/x86_64/YourAppName.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=9.1 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/ahmet/Library/Developer/Xcode/DerivedData/YourAppName-bwxrptthedixcjcvzwybeliinfmv/Build/Intermediates.noindex/YourAppName.build/Debug-iphonesimulator/YourAppName.build/Objects-normal/x86_64/YourAppName_lto.o -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -Xlinker -sectcreate -Xlinker TEXT -Xlinker entitlements -Xlinker /Users/ahmet/Library/Developer/Xcode/DerivedData/YourAppName-bwxrptthedixcjcvzwybeliinfmv/Build/Intermediates.noindex/YourAppName.build/Debug-iphonesimulator/YourAppName.build/YourAppName.app.xcent /Users/ahmet/Library/Developer/Xcode/DerivedData/YourAppName-bwxrptthedixcjcvzwybeliinfmv/Build/Products/Debug-iphonesimulator/libCordova.a -lz -weak_framework WebKit -weak_framework Social -weak_framework MessageUI -framework QuartzCore -Xlinker -dependency_info -Xlinker /Users/ahmet/Library/Developer/Xcode/DerivedData/YourAppName-bwxrptthedixcjcvzwybeliinfmv/Build/Intermediates.noindex/YourAppName.build/Debug-iphonesimulator/YourAppName.build/Objects-normal/x86_64/YourAppName_dependency_info.dat -o /Users/ahmet/Library/Developer/Xcode/DerivedData/YourAppName-bwxrptthedixcjcvzwybeliinfmv/Build/Products/Debug-iphonesimulator/YourAppName.app/YourAppName
duplicate symbol _OBJCIVAR$_CDVWKWebViewEngine._engineWebView in:
/Users/ahmet/Library/Developer/Xcode/DerivedData/YourAppName-bwxrptthedixcjcvzwybeliinfmv/Build/Intermediates.noindex/YourAppName.build/Debug-iphonesimulator/YourAppName.build/Objects-normal/x86_64/CDVWKWebViewEngine-FF81F419361B738.o
/Users/ahmet/Library/Developer/Xcode/DerivedData/YourAppName-bwxrptthedixcjcvzwybeliinfmv/Build/Intermediates.noindex/YourAppName.build/Debug-iphonesimulator/YourAppName.build/Objects-normal/x86_64/CDVWKWebViewEngine-FC3D2128C9C416AD.o
duplicate symbol _OBJCIVAR$_CDVWKWeakScriptMessageHandler._scriptMessageHandler in:
/Users/ahmet/Library/Developer/Xcode/DerivedData/YourAppName-bwxrptthedixcjcvzwybeliinfmv/Build/Intermediates.noindex/YourAppName.build/Debug-iphonesimulator/YourAppName.build/Objects-normal/x86_64/CDVWKWebViewEngine-FF81F419361B738.o
/Users/ahmet/Library/Developer/Xcode/DerivedData/YourAppName-bwxrptthedixcjcvzwybeliinfmv/Build/Intermediates.noindex/YourAppName.build/Debug-iphonesimulator/YourAppName.build/Objects-normal/x86_64/CDVWKWebViewEngine-FC3D2128C9C416AD.o
duplicate symbol _OBJCIVAR$_CDVWKWebViewEngine._weakScriptMessageHandler in:
/Users/ahmet/Library/Developer/Xcode/DerivedData/YourAppName-bwxrptthedixcjcvzwybeliinfmv/Build/Intermediates.noindex/YourAppName.build/Debug-iphonesimulator/YourAppName.build/Objects-normal/x86_64/CDVWKWebViewEngine-FF81F419361B738.o
/Users/ahmet/Library/Developer/Xcode/DerivedData/YourAppName-bwxrptthedixcjcvzwybeliinfmv
has anyone here successfully build a production APK of v3?
I ran into A LOT of problems along the way, solved them and ran into new ones.
My guess is that It all started because I installed newer version of Android SDK, which made me update some other versions, which broke some other modules...
So, if anyone made it to a working APK, and can share, that would be great.
I didn't quite understand your suggestion, though.
Here's a summary of what I did:
npm run run:android
from the command-line, and got errors, which I fixed by removing crosswalk and updating cordova-android to 6.2.3.ionic cordova build android --prod
to produce production APK - which was produced and installed on my phone, but only shows a blank screen.How do you build the project from IDE?
It's ionic project, it needs to go though ionic and cordova and stuff before Android Studio can compile an APK
Any help would be much appreciated!