python - Application Loader: error when creating a .pkg file using productbuild -


i testing command "productbuild" archive application bundle cemhapp. idea submit built .pkg file mac app store. @ moment, having following problem:

when try run basic command:

productbuild --component "cemhapp.app" /applications cemhapp.pkg 

i following error message:

productbuild: error: component @ "cemhapp.app" not bundle. 

i tried command "pkgbuild", i.e.

pkgbuild --component cemhapp.app --version 1 --install-location /applications cemhapp.pkg 

but following error appears

pkgbuild: adding component @ /users/wilsondasilva/desktop/aplk/cemhapp.app pkgbuild: error: path "/users/wilsondasilva/desktop/aplk/cemhapp.app" not valid bundle component (using destination path "/users/wilsondasilva/desktop/aplk") 

the strange thing cemhapp.app file works runs charm, not understand why system gives me above presented error. can shed light on topic , give me guidance?

the cemhapp open-source free application developed using qtcreator , python. bundle (cemhapp.app) created using pyinstaller , can downloaded @ http://concrete.fsv.cvut.cz/~wilson/software/cemhapp_v.1.0_macosx_10.9.2.dmg

best regards , in advance, w.

i guess found solution 1 of problems, partially answers question.

i changed parts of command pkgbuild , cemhapp.pkg file created.

here command used:

pkgbuild --identifier com.cemhapp.pkg.app --install-location /applications --root /users/wilsondasilva/desktop/aplk cemhapp.pkg 

after process finished, message in terminal reads

pkgbuild: wrote package cemhapp.pkg 

i installed cemhapp.pkg , worked. nonetheless, .icns file related cemhapp somehow lost , replaced default icon file. also, copy of cemhapp.pkg (with zero-bytes) appeared in /applications. have clue on wrong?

furthermore, still not know how use productbuild properly. pkgbuild, works when use argument --root, same not true when using --component, see error message below:

pkgbuild --identifier com.cemhapp.pkg.app --install-location /applications --component /users/wilsondasilva/desktop/aplk cemhapp.pkg pkgbuild: adding component @ /users/wilsondasilva/desktop/aplk pkgbuild: error: path "/users/wilsondasilva/desktop/aplk" not valid bundle component (using destination path "/users/wilsondasilva/desktop") 

remember according mac developer's library,

"when creating product archives submission mac app store, use --component mode of productbuild. other modes create product archives compatible os x installer, not acceptable mac app store."

cheers, w.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -