Skip to content
This repository has been archived by the owner on Jun 2, 2018. It is now read-only.

Trouble setting up blockskit #66

Closed
hermanccw opened this issue Feb 2, 2012 · 10 comments
Closed

Trouble setting up blockskit #66

hermanccw opened this issue Feb 2, 2012 · 10 comments

Comments

@hermanccw
Copy link

Hello,

First of all, blockskit looks great! Sadly, I am having trouble setting it up.

I just wanted to use it as a library so I can consume the nice categories. However, I couldn't find the libBlocksKit.a file. I also try to build it by opening the project, and building for iOS Library, however, it gave me the following error.

'A2BlockDelegate.h' file not found

Am I doing something wrong? please advice.

@a2
Copy link
Collaborator

a2 commented Feb 3, 2012

Did you clone the submodules? A2DynamicDelegate is a submodule. Try performing command git submodule update --init on the repository directory.

@hermanccw
Copy link
Author

ah... ic, forgot check .gitsubmodule. I was able to compile after that, but do not see the libBlocksKit.a file. I chose the schema iOS Library > iOS Device and did a archive for a release build.

@a2
Copy link
Collaborator

a2 commented Feb 3, 2012

And you checked the Archives organizer?

@hermanccw
Copy link
Author

yeah, nothing in the archives related to blockskit

@a2
Copy link
Collaborator

a2 commented Feb 3, 2012

Hmmm us "Skip Install" enabled in the build settings?

@hermanccw
Copy link
Author

ah... yes, it was set to YES for both iOS framework and iOS library. I've set that to NO, but still no static library :(

@zwaldowski
Copy link
Collaborator

Is it in BlocksKit/build? The framework settings occasionally override the build folder when Xcode parses the project a certain way, the stars are aligned right, etc. Otherwise, I encourage you to use the downloadable release. Hope we can get this working for you.

@krzyzanowskim
Copy link

I fight with setup. Currently can't bild iOS Framework because of error:

cp: /Users/marcinkrzyzanowski/Library/Developer/Xcode/DerivedData/project-fzgmwrflnrjcdkfhvxtbeulzcovx/Build/Intermediates/ArchiveIntermediates/project/BuildProductsPath/Release-iphoneos/../BlocksKit/BlocksKit/: No such file or directory

this is from this line:
# The -a ensures that the headers maintain the source modification date so that we don't constantly
# cause propagating rebuilds of files that import these headers.
cp -a "${BUILT_PRODUCTS_DIR}/${PUBLIC_HEADERS_FOLDER_PATH}/" "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Versions/A/Headers/"

finally I can't build it for Archive.
BlocksKit projest is "drag" as subproject. I have Targe Dependencies with "iOS Framework (BlocksKit);

help.

@rafalwojcik
Copy link

The same problem for me.

@zwaldowski
Copy link
Collaborator

The iOS framework is a hack on a hack and will no longer be supported in future releases. Please use either the static library target or use CocoaPods to manage instead. Sorry for the inconvenience.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants