Comments (6)
Hi,
I wonder where those quotes come from.
Can you try to:
- Find the file where those quotes come from:
grep -F -e '"com.app.demo"' -R .
- Remove the quotes. If it does not work, remove the quote in the middle and place it in the end, before the
;
- Try to build
If the issues comes back can you find a reproduction to make those quotes appear, we'll then be able to fix our hook.
from wonderpush-cordova-sdk.
Hello,
I've finally been able to do some testing.
If I add the iOS platform completely new and do not install Wonderpush Cordova SDK I find the following results:
./platforms/ios/Demo.xcodeproj/project.pbxproj: PRODUCT_BUNDLE_IDENTIFIER = "com.app.demo";
./platforms/ios/Demo.xcodeproj/project.pbxproj: PRODUCT_BUNDLE_IDENTIFIER = "com.app.demo";
If I remove the quotes and then run cordova plugin add
, the quotes are added again. The search then returns the following result.
./platforms/ios/Demo.xcodeproj/project.pbxproj: PRODUCT_BUNDLE_IDENTIFIER = "com.app.demo";
./platforms/ios/Demo.xcodeproj/project.pbxproj: PRODUCT_BUNDLE_IDENTIFIER = "com.app.demo";
./platforms/ios/Demo.xcodeproj/project.pbxproj: PRODUCT_BUNDLE_IDENTIFIER = "com.app.demo".WonderPushNotificationServiceExtension;
./platforms/ios/Demo.xcodeproj/project.pbxproj: PRODUCT_BUNDLE_IDENTIFIER = "com.app.demo".WonderPushNotificationServiceExtension;
from wonderpush-cordova-sdk.
I cannot reproduce the quotes.
Xcode accepts creating a project with a dash in it's bundle identifier and then uses quotes. Otherwise I have no quotes.
But since we're talking cordova I have to make cordova create the project and the cordova create
command refuses dashes, underscores or accentuated characters.
Can you give me a reproduction with a few commands I would run?
from wonderpush-cordova-sdk.
I've been fiddling a bit and managed to get Xcode to add quotes.
Can you test our plugin using the latest commit?
# Remove the plugin if necessary
cordova plugin rm wonderpush-cordova-sdk --variable CLIENT_ID=… --variable CLIENT_SECRET=…
# Checkout out the WonderPush Cordova SDK at the right commit
git clone https://github.com/wonderpush/wonderpush-cordova-sdk.git ../wonderpush-cordova-sdk
cd ../wonderpush-cordova-sdk
git checkout e03152cf950d4837ce3f31cce5c1982f134985af
# Go back to your project
cd -
# Add the WonderPush Cordova SDK from the local checkout
cordova plugin add ../wonderpush-cordova-sdk --variable CLIENT_ID=… --variable CLIENT_SECRET=…
Note the way to add the WonderPush Cordova SDK now uses a (relative) path.
If it works fine for you I'll release it.
I'm still interested in your reproduction commands if you can provide them.
from wonderpush-cordova-sdk.
Hey, I apologise for my delay.
Now I get this error:
/platforms/ios/WonderPushNotificationServiceExtension/wonderpushnotificationserviceextension-debug.xcconfig:7:1: error: could not find included file '../Pods/Target Support Files/Pods-WonderPushNotificationServiceExtension/Pods-WonderPushNotificationServiceExtension.debug.xcconfig' in search paths
If I create a new clean cordova project, the problem does not exist. So, I think I have a problem with other plugin(s). I will start with a new project and gradually add more plugins. Maybe I'll find the problem that way.
from wonderpush-cordova-sdk.
Hey I want to give a small update.
Your fix works but cordova-ios version >= 7 breaks Podfile on build. I create a issue for this: apache/cordova-ios#1389
from wonderpush-cordova-sdk.
Related Issues (6)
- Capacitor HOT 2
- Error if we called the subscribeToNotifications method without an argument [Android]
- LocalBroadcastManager not found on android.support.v4 HOT 1
- Failed to install 'wonderpush-cordova-sdk': Error: pod: Command failed with exit code 31 HOT 1
- Failing to upload to App store connect when using cordova-ios < 6 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wonderpush-cordova-sdk.