Just did that and you're right! I simply waited for an update notification from Apress. But unfortunately received none. Anyway Thanks for the advice! Now have both pdf and epub updated.
For some reason it was an xcode issue. After I rewritten the code the error disappeared! I double checked the spelling and it was absolutely the same, and the error persisted. So rewriting it magically solved my problem!