plist file

Hi,


I have created an html file with .js files and also .css files. When I drop the widget into iBooks, it tells me I do not have a defined main HTML file. In the .plist file, I have defined it. Any ideas?

iPad, OS X Mountain Lion (10.8.2), Using IBook Author 3

Posted on Mar 13, 2013 3:30 PM

Reply
3 replies

Mar 20, 2013 11:24 AM in response to Gregg42

Can you show that plist here?


Example from Apple:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"

"http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>CFBundleDevelopmentRegion</key>

<string>English</string>

<key>CFBundleDisplayName</key>

<string>Hello World</string>

<key>CFBundleIdentifier</key>

<string>com.apple.widget.HelloWorld</string>

<key>CFBundleName</key>

<string>Hello World</string>

<key>CFBundleShortVersionString</key>

<string>1.0</string>

<key>CFBundleVersion</key>

<string>1.0</string>

<key>Height</key>

<integer>768</integer>

<key>MainHTML</key>

<string>HelloWorld.html</string>

<key>Width</key>

<integer>1024</integer>

<key>IBNotifiesOnReady</key>

<true/>

</dict>

</plist>

Mar 20, 2013 11:19 AM in response to K T

Gregg42: Please post your plist content as suggested by K T


Here's the one I use for all my widgets:

<?xmlversion="1.0"encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC"-//Apple//DTD PLIST 1.0//EN""http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plistversion="1.0">

<dict>


<!-- Modify these properties as desired -->


<key>Width</key>


<integer>1024</integer>


<key>Height</key>


<integer>768</integer>


<key>MainHTML</key>


<string>main.html</string>



<!-- These are required, but have no user-facing effect -->

<key>CFBundleDevelopmentRegion</key>


<string>English</string>

<key>CFBundleIdentifier</key>

<string>com.niceoak.widgettemplate</string>

<key>CFBundleName</key>

<string>iBooks HTML Widget template</string>

</dict>

</plist>

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

plist file

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.