EddyVerbruggen / Calendar-PhoneGap-Plugin

:date: Cordova plugin to Create, Change, Delete and Find Events in the native Calendar
773 stars 402 forks source link

Cordova Build Failure on Starter Template #170

Open triz231 opened 9 years ago

triz231 commented 9 years ago

Per the CLI Automatic Installation instructions I completed the following steps on a brand new starter template: (1) $ cordova plugin add https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin.git

The following build commands failed: CompileC build/myApp.build/Debug-iphonesimulator/myApp.build/Objects-normal/i386/Calendar.o myApp/Plugins/nl.x-services.plugins.calendar/Calendar.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure) Error: /Users/stellar/desktop/myApp/platforms/ios/cordova/build: Command failed with exit code 65 at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23) at ChildProcess.emit (events.js:98:17) at maybeClose (child_process.js:756:16) at Process.ChildProcess._handle.onexit (child_process.js:823:5)

Any guidance on how to proceed would be helpful.

Best Regards,

Troy McKnight

EddyVerbruggen commented 9 years ago

Hi Troy,

I just did these steps and had no issues. Can you see what's different here?

I have OSX Yosemite /w XCode 6.3.

cordova -v  --> 5.0.0
cordova create calendartest
cd calendartest
cordova platform add ios
cordova plugin add https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin.git
cordova build
triz231 commented 9 years ago

Eddy,

Well, the only thing that is different is that my version of cordova is 4.1.2. I ran exactly as you did and the Build Succeeded. Not sure why it was different before when I first created the Ionic starter project and then tried to add your .git, and run the build. Once the build succeeded, I ran an ionic serve to “see” if the calendar would be viewable. I currently have the Apache Cordova icon saying it is Connecting to Device. Is this what it is supposed to do?

For the past two weeks I have been trying to do what you just did in 5 minutes. Thank you. Since you are the master of this plug-in, let me ask you a question… what I am ultimately trying to figure out is either (a) can I put a monthly calendar with the functionality (I think) your plug-in allows on its own slider with a custom background image, or (b) by using the plug-in by itself, can I introduce custom background images for each month.

Do you have any thoughts?

Best Regards,

Troy

On Apr 29, 2015, at 12:56 PM, Eddy Verbruggen notifications@github.com wrote:

Hi Troy,

I just did these steps and had no issues. Can you see what's different here?

I have OSX Yosemite /w XCode 6.3.

cordova -v --> 5.0.0 cordova create calendartest cd calendartest cordova platform add ios cordova plugin add https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin.git cordova build — Reply to this email directly or view it on GitHub https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/170#issuecomment-97519607.

triz231 commented 9 years ago

Eddy,

I successfully ran the below build, and I emulated it in the browser and iOS emulator. In both cases, it sits not he home screen with the Apache icon and a “Device is Ready” message. I imagine this is correct since it is not connected to any device calendar? What do I need to do to “see” a calendar as I test it?

Best Regards,

Troy

On Apr 29, 2015, at 12:56 PM, Eddy Verbruggen <notifications@github.com mailto:notifications@github.com> wrote:

Hi Troy,

I just did these steps and had no issues. Can you see what's different here?

I have OSX Yosemite /w XCode 6.3.

cordova -v --> 5.0.0 cordova create calendartest cd calendartest cordova platform add ios cordova plugin add https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin.git https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin.git cordova build — Reply to this email directly or view it on GitHub https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/170#issuecomment-97519607.

triz231 commented 9 years ago

Eddy,

Now that I have a successful cordova build using your code, can you lend insight into what the best way to see a calendar in the project would be? I understand (conceptually) why no calendar is viewable in the browser test and the iOS emulator - but I do not know what to do next to try and customize the output/imaging.

Best Regards,

Troy

On Apr 29, 2015, at 1:44 PM, Troy McKnight triz231@yahoo.com wrote:

Eddy,

Well, the only thing that is different is that my version of cordova is 4.1.2. I ran exactly as you did and the Build Succeeded. Not sure why it was different before when I first created the Ionic starter project and then tried to add your .git, and run the build. Once the build succeeded, I ran an ionic serve to “see” if the calendar would be viewable. I currently have the Apache Cordova icon saying it is Connecting to Device. Is this what it is supposed to do?

For the past two weeks I have been trying to do what you just did in 5 minutes. Thank you. Since you are the master of this plug-in, let me ask you a question… what I am ultimately trying to figure out is either (a) can I put a monthly calendar with the functionality (I think) your plug-in allows on its own slider with a custom background image, or (b) by using the plug-in by itself, can I introduce custom background images for each month.

Do you have any thoughts?

Best Regards,

Troy

On Apr 29, 2015, at 12:56 PM, Eddy Verbruggen <notifications@github.com mailto:notifications@github.com> wrote:

Hi Troy,

I just did these steps and had no issues. Can you see what's different here?

I have OSX Yosemite /w XCode 6.3.

cordova -v --> 5.0.0 cordova create calendartest cd calendartest cordova platform add ios cordova plugin add https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin.git https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin.git cordova build — Reply to this email directly or view it on GitHub https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/170#issuecomment-97519607.